cancel
Showing results for 
Search instead for 
Did you mean: 

product image handling for adding products via api

product image handling for adding products via api

We are going to be managing products through the magento api.  What is the best practice for adding images through the api.  Should we upload all the images into folders for image, small_image and thumbnail   in a general image folder then add the path to the api call.

 

Should each image have the same name but be in size appropriate folder such as image/product.jpg and small_image/product.jpg  or should the image name have the size on it as well small_image_product.jpg

 

 

 

Whats the best approach?

 

any help would be great, thanks

1 REPLY 1

Re: product image handling for adding products via api

Hello Davejina,

 

Have you tried to use the following api url? Create new gallery entry with Base 64 encoding

 

catalogProductAttributeMediaGalleryManagementV1