I did it again: Another WordPress Plugin.
This one is very small and simple:
Amazon Book Picture allows you to include a simple tag with a books asin or isbn in your posts which is replaced by an image of that book from amazon.
Version: 1.0 – initial
“Version: 1.1 – xhtml”: This is an alternate version suggested and modified by Thomas Weiße that uses < and > (<>) instead of the  brackets.
Tested with WordPress 2.1.3 up to 2.9.1.
Just upload to your wp-content/plugins folder or any subfolder and activate in plugins menue.
The tag to be used looks like this:
The definition of SIZE, IMG-WIDTH, IMG-HEIGHT, IMG-ID and IMG-CLASS are optional. SIZE defaults to M (medium). Be aware: which size the picture really has depends on what amazon defines. For some books amazon returns the same size picture for medium and large (the medium one). If you want to have a fixed-size image, use the IMG-attributes.
The whole tag is case-INsensitive
Only ISBN defined (size defaults to medium)
<img src=”http://images.amazon.com/images/P/3492246885.03.MZZZZZZZ.jpg” />
Only SIZE (small) and ISBN defined
<img src=”http://images.amazon.com/images/P/3492246885.03.THUMBZZZ.jpg” />
Only SIZE (large) and ISBN defined
<img src=”http://images.amazon.com/images/P/3492246885.03.LZZZZZZZ.jpg” />
With all possible attributes (width=123, heigth=123, an id and a class)
<img src=”http://images.amazon.com/images/P/3492246885.03.LZZZZZZZ.jpg” width=”123″ height=”123″ id=”1″ class=”book” />
If you like this plugin and it helps so much, that you would like to donate (no matter how much), please do it here.
(Missing your page? Notify me!)