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

Adding pictures with Zoom

  • Answer ID 1864
  • Published 03/14/2014 02:03 PM
  • Updated 03/14/2014 02:03 PM
  • Permalink https://ebaydts.com/eBayKBDetails?KBid=1864
How can I ensure that the images associates with my items have the zoom functionality?

 

Summary

To ensure that your image has the zoom functionality, you need to ensure the following:

 

Detailed Description

Here is an example for uploading images to EPS using UploadSiteHostedPictures:

<?xml version='1.0' encoding='utf-8'?>
<UploadSiteHostedPicturesRequest xmlns='urn:ebay:apis:eBLBaseComponents'>
   <ExternalPictureURL>http://www.mydomain.com/picture1.jpg</ExternalPictureURL>
   <PictureSet>Supersize</PictureSet>
   <RequesterCredentials>
      <eBayAuthToken>*****</eBayAuthToken>
   </RequesterCredentials>
</UploadSiteHostedPicturesRequest>

Response snippet:

<SiteHostedPictureDetails>
   <PictureSet>Supersize</PictureSet>
   <PictureFormat>JPG</PictureFormat>
   <FullURL>http://i1.sandbox.ebayimg.com/03/i/00/97/54/7c_12.JPG?set_id=880000500F</FullURL>
   ...
</SiteHostedPictureDetails>

Here is an example of a minimal AddItem request that will list the item with a picture that has the zoom functionality:

<?xml version='1.0' encoding='utf-8'?>
<AddItemRequest xmlns='urn:ebay:apis:eBLBaseComponents'>
  <WarningLevel>High</WarningLevel>
  <Item>
    <Country>US</Country>
    <Currency>USD</Currency>
    <Description>picture test</Description>
    <DispatchTimeMax>3</DispatchTimeMax>
    <ListingDuration>Days_7</ListingDuration>
    <PostalCode>95125</PostalCode>
    <PaymentMethods>PayPal</PaymentMethods>
    <PayPalEmailAddress>test@test.com</PayPalEmailAddress>
    <PrimaryCategory>
      <CategoryID>2312</CategoryID>
    </PrimaryCategory>
    <Quantity>1</Quantity>
    <StartPrice>1</StartPrice>
    <Title>picture test</Title>
    <ShippingDetails>
      <ShippingServiceOptions>
        <ShippingServicePriority>1</ShippingServicePriority>
        <ShippingService>UPS2ndDay</ShippingService>
        <ShippingServiceCost>5</ShippingServiceCost>
      </ShippingServiceOptions>
    </ShippingDetails>
    <PictureDetails>
      <PictureURL>http://i1.sandbox.ebayimg.com/03/i/00/97/54/7c_12.JPG?set_id=880000500F</PictureURL>
    </PictureDetails>
    <ReturnPolicy>
      <ReturnsAcceptedOption>ReturnsAccepted</ReturnsAcceptedOption>
      <RefundOption>MoneyBack</RefundOption>
      <ReturnsWithinOption>Days_30</ReturnsWithinOption>
      <Description>Text description of return policy details</Description>
    </ReturnPolicy>
  </Item>
  <RequesterCredentials>
    <eBayAuthToken>*****</eBayAuthToken>
  </RequesterCredentials>
</AddItemRequest>

Here is an sample AddItem request if the  <PhotoDisplay> Field  is specified. You need to specify either PicturePack or SuperSize
in the field. If anything else is specified, the zoom affect will not be visible.

<?xml version='1.0' encoding='utf-8'?>
<
AddItemRequest xmlns='urn:ebay:apis:eBLBaseComponents'>
…………..
  <
Item>
     ……….
      <
PictureDetails>
            <
PictureURL>http://i1.sandbox.ebayimg.com/03/i/00/97/54/7c_12.JPG?set_id=880000500F</PictureURL>
            <PhotoDisplay>PicturePack</PhotoDisplay>

      </PictureDetails>
     ……….
   </
Item>
………….
</
AddItemRequest>

                         OR

<?xml version='1.0' encoding='utf-8'?>
<
AddItemRequest xmlns='urn:ebay:apis:eBLBaseComponents'>
…………..
  <
Item>
     ……….
      <
PictureDetails>
            <
PictureURL>http://i1.sandbox.ebayimg.com/03/i/00/97/54/7c_12.JPG?set_id=880000500F</PictureURL>
            <PhotoDisplay>SuperSize</PhotoDisplay>

      </PictureDetails>
     ……….
   </
Item>
………….
</
AddItemRequest>

Note that the set_id for the Supersize picture URL will always end with '500F'. 

How well did this answer your question?

Answers others found helpful

Print Email This Page Delicious Digg Facebook Reddit StumbleUpon Twitter