Document existing system for logos images in taxonomies and design new system #7447
Labels
📚 Documentation
Documentation issues improve the project for everyone.
✨ Feature
Features or enhancements to Open Food Facts server
Fixed ?
This issue might have been fixed. We can close them once we verify that they have.
labels
logos
⏰ Stale
This issue hasn't seen activity in a while. You can try documenting more to unblock it.
🧬 Taxonomies
https://wiki.openfoodfacts.org/Global_taxonomies
Problem description
Some taxonomy entries (in particular labels) have associated logo images that we display on the website. How to add those images is not obvious:
[width]x90.[svg|png]
to indicate the width of the image when the height is 90 pixels (this is to be able to specify the width of the image in HTML)fr:ab-agriculture-biologique
->ab-agriculture-biologique.74x90.png
)html/images/lang/fr/labels/ab-agriculture-biologique.74x90.png
It is possible to have different images for different languages.
Desired solution
We may want to define a better solution to handle taxonomy images. We probably need in particular to get a fresh look at the requirements, beyond just displaying the logos in the website.
It could be useful to keep high resolution images (for PNG), and have an automated process to scale them / rename them into smaller images.
Part of
The text was updated successfully, but these errors were encountered: