sf
How to add a picture on page with term? Glossword 1.8 operates… ← ArticlesSupportA free dictionary/glossary PHP-script Guest  •  Sign In  •  Register a new account

Article: #kb-17 How to add a picture on page with term? Glossword 1.8 operates…

  • Status: Published
  • Topic: Back-end (Admin interface)
  • Applies to: Glossword 1.8.11
  • How to add a picture on page with term?

    Glossword 1.8 operates with terms and definitions written in HTML-code. So to insert an image, just place <img> tag. There is built-in variable to make writing path names easier. For example:

    html
    1. <img src="{PATH_IMG_DICT}/pic.jpg" width="300" height="200" alt="" />

    If Dictionary ID is 1, then the mentioned path will be /glossword/img/00001/pic.jpg where glossword is a dynamic path, it is where program is installed.

  • Created: , DmitrySh
  • Modified:

New comment

Discussion closed.