For full functionality of this site it is necessary to enable JavaScript.
Here are the instructions how to enable JavaScript in your web browser.

Knowledge base

Find the answer to your question

Advanced Search PView

Search terms
Search Type
Product
Category
Language
Format
SDK
Sort by
Direction

How to get my pictures that I upload to eBay, display correctly on view item page

  • Answer ID 1503
  • Published 11/11/2009 05:11 PM
  • Updated 10/20/2013 06:41 AM
  • Permalink https://ebaydts.com/eBayKBDetails?KBid=1503
Product
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>2010-01-11T00: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

Print Email This Page Delicious Digg Facebook Reddit StumbleUpon Twitter