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

getProductDetails : thumbnail How can I get high resolution picture of catalogued item.

  • Answer ID 2068
  • Published 06/13/2012 03:53 PM
  • Updated 10/20/2013 06:42 AM
  • Permalink https://ebaydts.com/eBayKBDetails?KBid=2068
Product
Using getProductDetails, I was able to get the "thumbnail" and "standard" versions of the "stockPhotoUrl".  However, both the images are limited to 70 pixels at the maximum. How can I get a high resolution image?

In getProductDetails respone, due to code dependencies of Internal eBay applications, both the Standard version and the thumbnail version of the stock Photo url return the 70 pixel images. However you can retreive a high resolution image by foloowing a simple workaround.

Afetr you retreive the below response :

[stockPhotoURL] =>
                (
                    [thumbnail] => 
                        (
                            [value] => http://i.ebayimg.com/00/$(KGrHqNHJ!sE7yCShryfBPGQY,brQg~~_0.JPG?set_id=89040003C1
                        )

                    [standard] => 
                        (
                            [value] => http://i.ebayimg.com/00/$(KGrHqNHJ!sE7yCShryfBPGQY,brQg~~_7.JPG?set_id=89040003C1
                        )

                )

If you change the 7 to 32 you get a larger resolution image

<standard><value>http://i.ebayimg.com/00/$(KGrHqNHJ!sE7yCShryfBPGQY,brQg~~_7.JPG?set_id=89040003C1</value>

http://i.ebayimg.com/00/$%28KGrHqR,!h!E2e2gC%28qqBNuZU!Hqcw~~_32.JPG?set_id=89040003C1

Please implement this workaround programatically after you retreive the Stock photo Urls.

How well did this answer your question?

Answers others found helpful

Print Email This Page Delicious Digg Facebook Reddit StumbleUpon Twitter