Home
Find the answer to your question
I am hosting my own images, and when I add more than I image to a listing, the ViewItem page shows on the first image below the description. How can I get it to show all my images?
Summary
When the images are self hosted (vendor hosted), the ViewItem page displays on
the first image below the Item description. The only way to show all the
images is to add them to your item description.
<?xml version="1.0" encoding="utf-8"?>
<AddItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<Version>509</Version>
<ErrorLanguage>en_US</ErrorLanguage>
<WarningLevel>High</WarningLevel>
<Item>
<Country>US</Country>
<Currency>USD</Currency>
<Description><![CDATA[
Item Description
<br>
<img src='http://mydomain.com/pic2.gif'>
<img src='http://mydomain.com/pic3.gif'>]]>
</Description>
<ListingDuration>Days_5</ListingDuration>
<PostalCode>95125</PostalCode>
<PaymentMethods>PaymentSeeDescription</PaymentMethods>
<PrimaryCategory>
<CategoryID>1463</CategoryID>
</PrimaryCategory>
<Quantity>1</Quantity>
<StartPrice>1.0</StartPrice>
<Title>title</Title>
<PictureDetails>
<PictureURL>http://mydomain.com/pic1.gif</PictureURL>
<PictureURL>http://mydomain.com/pic2.gif</PictureURL>
<PictureURL>http://mydomain.com/pic3.gif</PictureURL>
</PictureDetails>
</Item>
<RequesterCredentials>
<eBayAuthToken>*****</eBayAuthToken>
</RequesterCredentials>
</AddItemRequest>
Note:
You do not need to add the first image to the description, since it is
displayed by default.
You can use the same mechanism for ReviseItem and RelistItem, for including
images as part of item description.
Version Info
The code example above was based on the versions specified below:
API Schema Version | 509 |