Changes

Jump to navigation Jump to search
489 bytes added ,  15:31, 29 October 2016
Line 1,980: Line 1,980:  
==== Getting a list of all available photos ====
 
==== Getting a list of all available photos ====
 
You get a list of all available photos in the product JSON (both selected photos for all languages, and Raw photos (source images for the selected images and images that are not used)
 
You get a list of all available photos in the product JSON (both selected photos for all languages, and Raw photos (source images for the selected images and images that are not used)
 +
 +
===== Properties of a photo =====
 +
* id = 5
 +
* uploaded_t = 1474912158
 +
* uploader = tacinte
 +
* sizes
 +
100
 +
"h":100,
 +
"w":75
 +
* 400
 +
"h":400,
 +
"w":300
 +
* full
 +
"w":3120,
 +
"h":4160
 +
===== Properties of a selected photo =====
 +
* nutrition_fr
 +
* y1 = 151.8125
 +
* normalize":"true",
 +
* x2":"169.75",
 +
* rev":"13",
 +
* geometry":"1238x1238-527-1578"
 +
* sizes
 +
*100
 +
"h":100,
 +
"w":75
 +
* 200
 +
* 400
 +
"h":400,
 +
"w":300
 +
* full
 +
"w":3120,
 +
"h":4160
 +
* y2 = 270.8125
 +
*  x1 = 50.75
 +
*  angle = 0
 +
* white_magic = false
 +
*  imgid = 4
 +
 
<pre>
 
<pre>
 
       "images":{   
 
       "images":{   

Navigation menu