Closed howardengelhart closed 8 years ago
For the width and height, do you want a width
and height
property on the image array, a string that would be something like '123x345'
, or a dimensions
property that would have a width
and height
? Or something else?
I guess dimensions works...
"images": [
{
"uri": "http://a1.mzstatic.com/us/r30/Purple/v4/c2/ec/6b/c2ec6b9a-d47b-20e4-d1f7-2f42fffcb58f/screen1136x1136.jpeg",
"type": "screenshot",
"device": "phone",
"size" : {
"width" : 1300,
"height" : 600
}
},
The product info we pull for IOS apps has an image array that looks like the example below. There are two pieces of data we'd like to add to each item in the array:
HEAD
request on the URL and inspecting thecontent-length
property of the returned headers.