Changes

Jump to navigation Jump to search
29 bytes added ,  07:13, 27 July 2020
Line 96: Line 96:  
==== Getting information and logos for environmental labels ====
 
==== Getting information and logos for environmental labels ====
 
<div style="float: left; padding-right: 1.5em;"><span style="font-size: 5em;">{{#fas:marker}}</span></div>
 
<div style="float: left; padding-right: 1.5em;"><span style="font-size: 5em;">{{#fas:marker}}</span></div>
* Get the logo in SVG (or PNG otherwise): If we don't have a SVG logo, we'd need one, if possible like this: label-name-as-it-is-in-the-openfoodfacts-url.123x90.svg The height comes in second and should always be 90. You need to calculate the ratio to find out the width. if the logo is 246x180, you need to divide the height by 2 to get to 90, so you need to put height 90, and width 246/2=123.
  −
<div style="float: left; padding-right: 1.5em;"><span style="font-size: 5em;">{{#fas:image}}</span></div>
   
* Research the logo
 
* Research the logo
 
** provide 1-line bullet points of what it means (there can be several bullet points)
 
** provide 1-line bullet points of what it means (there can be several bullet points)
 
** Find a icon idea for each bullet point (not the icon itself, but an idea for the icon) using [https://thenounproject.com/ The Noun Project]
 
** Find a icon idea for each bullet point (not the icon itself, but an idea for the icon) using [https://thenounproject.com/ The Noun Project]
 
** Add the Wikipedia/Wikidata page to [https://github.com/openfoodfacts/openfoodfacts-server/blob/master/taxonomies/labels.txt the label taxonomy] if it's not already available
 
** Add the Wikipedia/Wikidata page to [https://github.com/openfoodfacts/openfoodfacts-server/blob/master/taxonomies/labels.txt the label taxonomy] if it's not already available
 
+
<div style="float: left; padding-right: 1.5em;"><span style="font-size: 5em;">{{#fas:image}}</span></div>
 +
* Get the image for the logo
 +
** Get the logo in SVG (or PNG otherwise): If we don't have a SVG logo, we'd need one, if possible like this: label-name-as-it-is-in-the-openfoodfacts-url.123x90.svg The height comes in second and should always be 90. You need to calculate the ratio to find out the width. if the logo is 246x180, you need to divide the height by 2 to get to 90, so you need to put height 90, and width 246/2=123.
 
* Send your research to @teolemon or commit it directly to GitHub if you are familiar with it.
 
* Send your research to @teolemon or commit it directly to GitHub if you are familiar with it.
  

Navigation menu