Product Modify Ignoring Images??

Shopify Expert
60 0 23

With the new product_image stuff, does passing the array of image data in the product/modify call no longer work? Here is the JSON I'm passing. Note the "images" element. The variant data is updating properly, but the images data is being ignored. Is this just a problem with multi-variant products maybe??

Array ( [title] => Single Sleeve Set [handle] => single-sleeve-set [body_html] => [images] => Array ( [0] => Array ( [src] => http://my.cliir.com/uploads/simply-straws/368014813/6011-cc8ss-ds-1411079375.jpg ) [1] => Array ( [src] => http://my.cliir.com/uploads/simply-straws/368014813/6012-cc8ss-rds-1411079558.jpg ) [2] => Array ( [src] => http://my.cliir.com/uploads/simply-straws/368014813/6013-cc8ss-ocs-1411079596.jpg ) ) [options] => Array ( [0] => Array ( [name] => Color ) [1] => Array ( [name] => Size ) [2] => Array ( [name] => Type ) ) [variants] => Array ( [0] => Array ( [fulfillment_service] => manual [grams] => 45.359702440352 [id] => 948994517 [inventory_management] => shopify [inventory_policy] => deny [position] => 1 [price] => 22.00 [requires_shipping] => 1 [sku] => CC8SS-RDS [taxable] => 1 [inventory_quantity] => 100 [option1] => Reverse Denim [option2] => Classic Clear 8 [option3] => Straight ) [1] => Array ( [fulfillment_service] => manual [grams] => 45.359702440352 [id] => 948997705 [inventory_management] => shopify [inventory_policy] => deny [position] => 2 [price] => 22.00 [requires_shipping] => 1 [sku] => CC8SS-DS [taxable] => 1 [inventory_quantity] => 100 [option1] => Denim [option2] => Classic Clear 8 [option3] => Straight ) [2] => Array ( [fulfillment_service] => manual [grams] => 45.359702440352 [id] => 948999277 [inventory_management] => shopify [inventory_policy] => deny [position] => 3 [price] => 22.00 [requires_shipping] => 1 [sku] => CC8SS-OCS [taxable] => 1 [inventory_quantity] => 100 [option1] => Olive Chocolate [option2] => Classic Clear 8 [option3] => Straight ) ) )

0 Likes
Highlighted
Shopify Staff
Shopify Staff
582 0 45

Could you use the code field or link to a gist. This is impossible to read at the moment.

0 Likes
Shopify Expert
60 0 23

Sorry about that. How about this?

http://codebeautify.org/jsonviewer/0bc555

0 Likes
Shopify Staff
Shopify Staff
154 0 34

Your images exceed 20 megapixels and that's why they are failing to save. Try uploading smaller images (we resize everything to max 2048 pixels wide/high, so you can keep that as a reference). We're working on showing this error to the end-user.

0 Likes