2013-08-04

HOWTO: get a high-quality image from an eBay listing

Well, sometimes you can find an interesting item on eBay, and then you want to take a nice look at the photos. Unfortunately, the pictures are often displayed in a low resolution (and without a "zoom in" option). Luckily, often you still have a chance to get good quality images (with resolutions up to 1600 * 1200; it depends on the original quality of the picture the seller has uploaded).

Notes. The sites are in process of migration to HTTPS, so you'll often see image URLs beginning with "https://" instead of plain "http://". And it should work for all regional eBay sites (i. e., ebay.com, ebay.co.uk, ebay.de etc.), and also for "eBay Kleinanzeigen" (German eBay classified ads site).
  1. An old image URL style.
    1. First of all, copy an URL of the needed image; you'll get something like this:
      http://i.ebayimg.com/t/Some-nice-item-For-sale-/00/s/S0mE-W1LD/$GaRb4gE~~60_12.JPG
    2. Then you'll need to modify the URL a little; just replace the last number found in the URL (it's preceded by a '_' and followed by a '.'; in this sample, it's "12") with "10":
      http://i.ebayimg.com/t/Some-nice-item-For-sale-/00/s/S0mE-W1LD/$GaRb4gE~~60_10.JPG
      or with "57" (I don't know what's actually better):
      http://i.ebayimg.com/t/Some-nice-item-For-sale-/00/s/S0mE-W1LD/$GaRb4gE~~60_57.JPG
    3. Just paste the modified image URL into your browser's address bar and enjoy!
  2. A new image URL style. The method remains similar.
    1. Get an image URL:
      http://i.ebayimg.com/images/g/GaRbaG3/s-l64.jpg
    2. Change the appropriate URL fragment to "1600":
      http://i.ebayimg.com/images/g/GaRbaG3/s-l1600.jpg
    3. ...
    4. Done!

References:
  1. getProductDetails : thumbnail How can I get high resolution picture of catalogued item. - eBay Developer Support / Customer Help
  2. getProductDetails - API Reference - Product API - eBay Developers Program
---
Last updated: 2017-03-14

No comments:

Post a Comment