phpThumb Package 0.2.0

phpThumb Package 0.2.0

Released Jun 24, 2007 by maff
A PHx modifier to use phpThumb ( within your templates. PHPThumb creates thumbnails and altered images on the fly and caches them. I use it in my snippets to have control over the images in my template and not in the script itself. For me it's a further step to separate the programming logic and the layout.

Additionally, there is a plugin, which reads width and height values from img tags (e.g. images resized in RTE) and resizes them automatically. You can also specify custom parameters by appending them to the image URL.

Original Forum Thread:,14858.0.html Download 136kb (1054 downloads)
Downloads: 9,590
License: GPL - GNU Public
Discuss Extra
Requires Evolution 1.0.x or greater
Supports mysql
A snippet (a PHx extension) and a plugin to use phpThumb within MODx.

Installation Instructions

- Copy my slightly modified phpThumb to assets/snippets/phpthumb
- Change phpThumb.config.php according to your needs (GD/ImageMagick, caching, ...) and create the cache directory (assets/images/.phpthumb_cache by default)
- Copy image.php to your MODx document root
- Change the high security password in phpThumb.config.php
- Create a new snippet called phx:phpthumb and paste the contents of this file.
- If you want to use the plugin paste the contents of plugin_phpthumb.php into a new plugin and check the OnWebPagePreRender Event.
Version Released Author Downloads
4 Versions 1 Contributors 9,598 Downloads
0.3.2 Jul, 04 2008 maFF 6,696
0.3.1 Jun, 03 2008 maFF 684
0.3.0 Sep, 03 2007 maFF 1,164