Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
API/Write/Photos
(view source)
Revision as of 12:42, 12 March 2019
225 bytes added
,
12:42, 12 March 2019
→Selecting a photo
Line 279:
Line 279:
Values:
Values:
==== Selecting a photo ====
==== Selecting a photo ====
−
<pre>imgid=</pre>
+
<pre>
https://world.openfoodfacts.net/cgi/product_image_crop.pl?code=3266110700910&id=nutrition_fr&
imgid=
1
</pre>
−
Values
:
+
+
id: the field you want to attribute the image to
+
code
:
the barcode of the product
+
imgid: the image id you want to select into the field
+
==== Rotating a photo ====
==== Rotating a photo ====
<pre>Test server: https://world.openfoodfacts.net/cgi/product_image_rotate.pl</pre>
<pre>Test server: https://world.openfoodfacts.net/cgi/product_image_rotate.pl</pre>
Teolemon
Bureaucrats
,
Interface administrators
,
Suppressors
,
Administrators
3,997
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Log in
Open Food Facts galaxy
Where am I?
Open Food Facts website
Open Food Facts wiki
Main page
Recent changes
Random page
Open Beauty Facts wiki
Main page
Whole wiki
Help about MediaWiki
Icons in the wiki
Tools
Special pages
Printable version
Admins
Edit sidebar
Styling
Replace text
Special Pages