Skip to main content
Published: November 11 2009, 6:11:00 PMUpdated: August 11 2022, 4:01:23 AM

I uploaded my pictures using UploadSiteHostedPictures.  I chose picture with the largest size that was returned in the response and used it in my AddItem request.  However, when I go the view item page for the listed item, the image appears to be significantly smaller in the picture area (next to the title).  What does this happen?

Detailed Description

When you upload pictures to eBay using UploadSiteHostedPictures, you get back urls for multiple sizes for the image as below:

<SiteHostedPictureDetails>
  <PictureSet>Standard</PictureSet>
  <PictureFormat>JPG</PictureFormat>
  <FullURL>http://i1.sandbox.ebayimg.com/03/i/00/24/15/13_1.JPG?set_id=8800005007</FullURL>
  <BaseURL>http://i1.sandbox.ebayimg.com/03/i/00/24/15/13_</BaseURL>
  <PictureSetMember>
    <MemberURL>http://i1.sandbox.ebayimg.com/03/i/00/24/15/13_0.JPG</MemberURL>
    <PictureHeight>96</PictureHeight>
    <PictureWidth>74</PictureWidth>
  </PictureSetMember>
  <!-- more PictureSetMember containers -->
  <
ExternalPictureURL>http://www.mysite.com/55998_55998_441_9.jpg</ExternalPictureURL>
  <UseByDate>2022-08-11T10:57:43.710Z</UseByDate>
</SiteHostedPictureDetails>

When you use this in the AddItem request, you should use the url returned in the FullURL field.  When you use this, the correct size is automatically rendered when users go to the view item page or when they click on the enlarge link.

Here is a sample snippet of the AddItem request:

<?xml version="1.0" encoding="utf-8"?>
<AddItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">
  <Item>
    <!-- other required fields need to be specified -->
    <
PictureDetails>
     <PictureURL>http://i1.sandbox.ebayimg.com/03/i/00/24/15/13_1.JPG?set_id=8800005007</PictureURL>
   </PictureDetails>
 </Item>
 <RequesterCredentials>
  <eBayAuthToken>*****</eBayAuthToken>
</RequesterCredentials>
</AddItemRequest>


Additional Information

UploadSiteHostedPictures
 

 

 

How well did this answer your question?
Answers others found helpful