Would it be a bad idea to create various sizes usng the following trick. I havent read all api stuff yet. Maybe its bad because its not directly amazon api supported and would break on api changes. i am not sure

http://ecx.images-amazon.com/images/I/51TilCfJyzL._SL160_.jpg

SL160 defines the image height, so if i put in 500, i would get a 500 pixel height image

http://ecx.images-amazon.com/images/I/51TilCfJyzL._SL160_.jpg

Comments

rfay’s picture

Title: Image size idea » Allow arbitrary selection of image size
Category: support » feature

I had no idea... Do you have any suggestion that Amazon actually supports this?

marcoka’s picture

Category: feature » support

it works up to 500

http://ecx.images-amazon.com/images/I/51TilCfJyzL._SL500_.jpg

But as i said im not sure if that is an api cheat or an actual api feature. If i have more infos i will share them.

pancho’s picture

Version: 6.x-1.3 » 7.x-1.x-dev
Category: support » feature
Issue tags: +undefined

That's really interesting, and yes it seems to be officially supported:

The sizes of the images under are specified by the _SLXXX_ suffix in the URL, where XXX is the number of pixels on the longest side of the image. A medium size image, for example, has 160 pixels on its longest side so it has the suffix _SL160_. This is the preferred way to reference images.

(see http://docs.amazonwebservices.com/AWSECommerceService/2010-11-01/DG/RG_I...)

We can make that possible in the 7.x-2 version when rewriting major parts of the code.
If people are very much interested in this feature it might also make it into the 7.x-1 version and get backported to a 6.x-2 version, but then this needs to happen quite soon.

marcoka’s picture

d6 would be nice too yes, agree.
im very interested in this module, helping out. But that will take some time. First i need to read all the module code/amazon api
At the moment its not possible to get MP3-Downloads. I plan on making a autocomplete widget for artist - name of an mp3 track.
i mean singe downloads like: http://www.amazon.de/gp/product/B001T115IA/

you need to get the asin by hand and put it into autoccomplete

willvincent’s picture

Status: Active » Postponed