Title: AutoThumb
Author: maff
Published: <strong>April 18, 2009</strong>
Last modified: February 6, 2012

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/autothumb.svg)

# AutoThumb

 By [maff](https://profiles.wordpress.org/maff/)

[Download](https://downloads.wordpress.org/plugin/autothumb.0.6.1.zip)

 * [Details](https://srd.wordpress.org/plugins/autothumb/#description)
 * [Reviews](https://srd.wordpress.org/plugins/autothumb/#reviews)
 *  [Installation](https://srd.wordpress.org/plugins/autothumb/#installation)
 * [Development](https://srd.wordpress.org/plugins/autothumb/#developers)

 [Support](https://wordpress.org/support/plugin/autothumb/)

## Description

The plugin is actually just a port of a plugin/snippet I wrote for [MODx](http://www.modxcms.com)
a while ago ([see here](http://modxcms.com/phpThumb-Package-1522.html)). It scans
your content’s source code for <img> tags with width and height attributes and passes
them to [phpThumb](http://phpthumb.sourceforge.net/), a great PHP image editing 
library, which handles the resizing and editing of the image. Additionally, by passing
parameters to phpThumb using a query string, it’s possible to edit the image in 
several ways (take a look at [phpThumb’s demos](http://phpthumb.sourceforge.net/demo/demo/phpThumb.demo.demo.php)).

The simplest way to get resized images is to specify width/height attibutes in your
HTML. AutoThumb will use the given values and remove the attributes from your page’s
output. When you take a look at the URLs of the example images found on the plugin
home page, you will see that the <img>-tag’s src-attribute points to a file called
image.php in the plugin’s directory. This file takes the image source and several
other parameters and passes them to phpThumb, which will generate and output the
final image (of course images will be cached).

To prevent evil people playing with the query string and letting your server generate
tons of different images, the plugin generates a hash which is a combination of 
the query string and a secret password you set in phpThumb’s config file. So every
call with different parameters (even the same image with different sizes) has another
unique hash and it’s not possible to generate new images without knowing the secret
password.

See the [plugin page](http://ailoo.net/projects/autothumb/) for more details on 
the plugin.

All development is done on [GitHub](https://github.com/maff/wp-autothumb). If you
have ideas, enhancements, etc. feel free to fork the project and send a pull request.

For any issues please use the [Issue Tracker](https://github.com/maff/wp-autothumb/issues).

## Installation

 1. Download the .zip file and extract it.
 2. Upload the plugin to your `/wp-content/plugins/` directory and make sure your web
    server has write access to the cache folder and the config file.
 3. Activate the plugin.
 4. Go to Settings – AutoThumb and setup the plugin
 5. Have fun!

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“AutoThumb” is open source software. The following people have contributed to this
plugin.

Contributors

 *   [ maff ](https://profiles.wordpress.org/maff/)

[Translate “AutoThumb” into your language.](https://translate.wordpress.org/projects/wp-plugins/autothumb)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/autothumb/), check 
out the [SVN repository](https://plugins.svn.wordpress.org/autothumb/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/autothumb/) by [RSS](https://plugins.trac.wordpress.org/log/autothumb/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **0.6.1**
 *  Last updated **14 years ago**
 *  Active installations **90+**
 *  WordPress version ** 2.7 or higher **
 *  Tested up to **3.3.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/autothumb/)
 * Tags
 * [images](https://srd.wordpress.org/plugins/tags/images/)[library](https://srd.wordpress.org/plugins/tags/library/)
   [phpthumb](https://srd.wordpress.org/plugins/tags/phpthumb/)[resize](https://srd.wordpress.org/plugins/tags/resize/)
   [thumbnails](https://srd.wordpress.org/plugins/tags/thumbnails/)
 *  [Advanced View](https://srd.wordpress.org/plugins/autothumb/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/autothumb/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/autothumb/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/autothumb/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/autothumb/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/autothumb/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/autothumb/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/autothumb/reviews/)

## Contributors

 *   [ maff ](https://profiles.wordpress.org/maff/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/autothumb/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://ailoo.net/about)