Title: [Plugin: Amazon Link] Changing Image Size
Last modified: August 20, 2016

---

# [Plugin: Amazon Link] Changing Image Size

 *  Resolved [triefy](https://wordpress.org/support/users/triefy/)
 * (@triefy)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-amazon-link-changing-image-size/)
 * Is there anyway to change the size of the image that pulls from Amazon? The thumbnail
   template displays too small of an image while the image template takes up the
   majority of my post for what I want to do.
 * I have tried to change the size in the code for the template but anything other
   than width=”1″ and height=”1″, it is ignored.
 * An older plugin (no longer supported) that was able to add the Amazon Images 
   as actual images in the post so I could resize them. Here is an example of what
   I did:
    [http://www.destroythebrain.com/news/home-invasion/home-invasion-dvd-blu-ray-releases-for-october-4th-2011](http://www.destroythebrain.com/news/home-invasion/home-invasion-dvd-blu-ray-releases-for-october-4th-2011)
 * [http://wordpress.org/extend/plugins/amazon-link/](http://wordpress.org/extend/plugins/amazon-link/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [paulstuttard](https://wordpress.org/support/users/paulstuttard/)
 * (@paulstuttard)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-amazon-link-changing-image-size/#post-2949890)
 * Hi,
 * The image sizes are whatever Amazon decide to serve via the AWS so can vary greatly.
 * I think you are changing the size of the wrong img tag in the template, you need
   to add the height and width tags to the first img tag. The second one is for 
   tracking page impressions by Amazon.
 * e.g. update the thumbnail template to:
 *     ```
       <div class="al_found%FOUND%">
        %LINK_OPEN%
        <img height="100" width="100" alt="%TITLE%" title="%TITLE%" src="%THUMB%" class="%IMAGE_CLASS%">
       %LINK_CLOSE%
       <img src="http://www.assoc-amazon.%TLD%/e/ir?t=%TAG%&l=as2&o=%MPLACE_ID%&a=%ASIN%" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />
       </div>
       ```
   
 * Alternatively if you use the Amazon Search Tool in the post/page edit screen 
   to upload the ‘large’ image to your WordPress media library this will generate
   image sizes that you usually use for other uploaded media. The plugin will _always_
   use this image in preference to any other.
 * Hope this helps!
 * Paul
 *  Thread Starter [triefy](https://wordpress.org/support/users/triefy/)
 * (@triefy)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-amazon-link-changing-image-size/#post-2949891)
 * Thanks Paul!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Amazon Link] Changing Image Size’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/amazon-link_070606.svg)
 * [Amazon Link](https://wordpress.org/plugins/amazon-link/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amazon-link/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amazon-link/)
 * [Active Topics](https://wordpress.org/support/plugin/amazon-link/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amazon-link/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amazon-link/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [triefy](https://wordpress.org/support/users/triefy/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-amazon-link-changing-image-size/#post-2949891)
 * Status: resolved