Changes

Jump to navigation Jump to search
→‎image: specifies that it's not used by the website, and that the file name must match the entry name in the target language
Line 154: Line 154:     
==== image ====
 
==== image ====
 +
The website displays images for some taxonomy entries (e.g. labels).
 +
 +
The website currently uses the image filenames to make the match between an entry in one language and its associated logo, so the image filename in html/images/lang/[language code]/[tagtype]/ must match the name of the taxonomy entry in that language. e.g. the logo for the "fr: Union Végétarienne Européenne Végétarien" must be named html/images/lang/fr/labels/union-vegetarienne-europeenne-vegetarien.77x90.png (or .svg) (if the width is 77 pixels when the height is 90 px)
 +
 +
The image property may be used by other apps to make the match and discover the URL of the associated image.
 +
 +
* examples:
 +
** en: too good to go  xx: too good to go  image:en: too-good-to-go.108x90.png
 +
** en: European Vegetarian Union Vegetarian, European Vegetarian Union - Vegetarian, EVU Vegetarian  [..]  fr: Union Végétarienne Européenne Végétarien, Union Végétarienne Européenne - Végétarien, EVU Vegetarian  [..]  image:en: european-vegetarian-union-vegetarian.77x90.png  image:fr: union-vegetarienne-europeenne-vegetarien.77x90.png
 +
* usage Labels taxonomy
 +
 +
 
This allows to add an image/logo related to the term.
 
This allows to add an image/logo related to the term.
  

Navigation menu