banner



Can Extra Image Urls Be Added In Amazon Template

Link Directly to Product Images

Only as product item URLs follow a certain blueprint, paradigm URLs are but as predictable .

Just equally every folio has a URL, then likewise does every product image. Finding the URL is fairly piece of cake in virtually browsers. In Internet Explorer on Windows, correct-click the image and cull Properties. Once you accept the prototype URL, you can bring it up in the browser by placing it in the address bar. Some browsers—Safari for Mac OS Ten, for case—brand this a unmarried step via the Open Image in New Window context-carte du jour item.

Amazon prototype URLs are merely as dynamic as Amazon pages. By understanding the paradigm URL pattern, y'all tin find images for products based on their ASIN and customize from there.

For instance, the following standard image URL brings up a standard product image, the Google Hacks book cover in Effigy i-6:

http://images.amazon.com/images/P/0596004478.01._PE30_PI_SCMZZZZZZZ_.jpg

Google Hacks product image

Effigy ane-6. Google Hacks product epitome

If y'all're getting good at spotting ASINs [Hack #1], you'll come across this production's ASIN in the URL. Past irresolute information technology, you tin discover the image for other products (run across Figure 1-7):

http://images.amazon.com/images/P/            0596004613          .01._PE30_PI_SCMZZZZZZZ_.jpg

Linux Server Hacks product image

Figure 1-seven. Linux Server Hacks product paradigm

Keep in mind that you tin link to an prototype of whatsoever production that Amazon sells, as long as you have the ASIN. The post-obit URL shows an iPod MP3 player from Amazon'southward Electronics itemize (come across Figure 1-8):

http://images.amazon.com/images/P/B00006FDRB.01._            PE30          _PI_SCMZZZZZZZ_.jpg

iPod product image

Figure 1-viii. iPod product paradigm

These images take something else in mutual: a 30% off graphic in the lower-right corner. With closer examination of the URLs, you can see what might exist affecting the graphic. The section PE30 corresponds with the disbelieve amount. What happens if we change this value?

          http://images.amazon.com/images/P/0596004605.01._            PE50          _PI_SCMZZZZZZZ_.jpg

The PE50 changes the discount to 50%, as seen in Figure i-ix.

Mac OS X Hacks product image, with 50% Discount

Effigy 1-9. Mac OS X Hacks product image, with fifty% Disbelieve

Alarm

Just because y'all can change the discount information on the epitome doesn't hateful yous should . Giving false information nearly products will only upset potential customers and potentially Amazon.

What if you lot didn't want a discount at all? Take out the disbelieve designation for a discount-free image like that shown in Figure 1-x:

http://images.amazon.com/images/P/0596004605.01._SCMZZZZZZZ_.jpg

Mac OS X Hacks image with no discount

Effigy 1-10. Mac OS Ten Hacks paradigm with no discount

Unlike sizes of images are as well predictable and can be requested with a URL. The portion of the URL with all those ZZZ's specifies its size. The codes and their associated sizes are listed in Table i-1.

Table ane-1. Image codes and their associated images sizes

Image code

Image size

THUMBZZZ

forty x 60 pixels, very small

MZZZZZZZ

93 ten 140 pixels, standard size

LZZZZZZZ

317 x 475 pixels, very large

The bodily pixel size will vary by item, but these are skilful approximations for books.

Past looking at the URLs for unlike products, you lot may even pick upward other variable style codes. Throwing a TT in the mix (as Duke Bhuphaibool at Amazon suggested) tilts the product image, shown in Figure 1-11:

http://images.amazon.com/images/P/0596004478.01.twenty            TT          ZZZZ.jpg

Google Hacks image, tilted

Effigy 1-11. Google Hacks image, tilted

And TR sets it straight over again:

http://images.amazon.com/images/P/0596004478.01.20            TR          ZZZZ.jpg

Nigh production images on Amazon are JPEG files, but there is a way to force the GIF format:

http://images.amazon.com/images/P/0596004478.01.            _FMgif_          ZZZZZZZZZZ_.gif

Unfortunately, you're stuck with the medium size. There isn't a way to request a larger GIF.

Can Extra Image Urls Be Added In Amazon Template,

Source: https://www.oreilly.com/library/view/amazon-hacks/0596005423/ch01s07.html

Posted by: janousekthearly.blogspot.com

0 Response to "Can Extra Image Urls Be Added In Amazon Template"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel