Changes

Jump to navigation Jump to search
316 bytes added ,  16:49, 18 April 2017
Line 245: Line 245:     
===== Label images =====
 
===== Label images =====
You can now get label images in the list of Labels as the "image" attribute.
+
No format API is currently available. However, they are predictable:
Typically: https://static.openfoodfacts.org/images/lang/en/labels/eu-organic.135x90.svg
+
<pre>
 +
https://static.openfoodfacts.org/images/lang/en/labels/eu-organic.135x90.svg
 +
</pre>
 +
 
 +
A full list is available at:
 +
<pre>
 +
https://github.com/openfoodfacts/openfoodfacts-server/tree/master/html/images/lang/fr/labels
 +
https://github.com/openfoodfacts/openfoodfacts-server/tree/master/html/images/lang/en/labels
 +
https://github.com/openfoodfacts/openfoodfacts-server/tree/master/html/images/lang/de/labels
 +
</pre>
    
=====Getting suggestions for labels=====
 
=====Getting suggestions for labels=====

Navigation menu