question

fixypaint avatar image
0 Likes"
fixypaint asked

Reduced photo size while using api

I have tried uploading images using https://developer.ebay.com/devzone/xml/docs/reference/ebay/UploadSiteHostedPictures.html
However, I got a maximum image size of 800*800 pixels while original photos are larger. I tried every resolution and always got the same reduced photo size.

photos
· 1
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

can you post your api result?
0 Likes 0 ·

1 Answer

· Write an Answer
sagar_developersupport avatar image
0 Likes"
sagar_developersupport answered

Hi @fixypaint,

When executing the UploadSiteHostedPictures call, please set the PictureSet field as "Supersize" to get a super-sized image for each ExternalPictureURL submitted in the request. In order to include the super-sized image in the Add Item calls, you must also specify Item.PictureDetails.PhotoDisplay.Supersize or Item.PictureDetails.PhotoDisplay.PicturePack.
Ref: https://developer.ebay.com/devzone/xml/docs/reference/ebay/UploadSiteHostedPictures.html#Request.PictureName

Best Regards,
eBay Developer Support

10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.