About phpThumbOf

A custom, secure output filter for phpThumb, a thumbnail generation solution for images. Any phpThumb-compatable config options can be passed into parameter of the filter.


July 6, 2012

Supported Database
MySQL, SQL Server


Supported Versions
2.0 - Current



Install via Package Management.

New in 1.4.0-pl

New in 1.4.0

  • [#22] Allow for thumbnails to preserve basename of file being thumbnailed
  • [#33] Fix issue with config not passed to phpthumbof class, causing some properties to not be respected
  • [#32] Fix context settings not respected
  • [#39] Fix class exists errors with AWS
  • [#25] Prevent followlocation curl error in environments that have open_basedir on

New in 1.3.2

  • Fix path prefixing and abs issue with v1.3.1

New in 1.3.1

  • Fix for Revo 2.2 base path prefixing

New in 1.3.0

  • [#29] Fix issue with caching of thumbnails always being forced
  • [#26] Add phpthumbof.cache_url setting for setting caching URLs outside of the main domain
  • [#28] Fix issue where image with query string on URL would not render
  • Revamp phpThumbOf to more OOP approach for easier debugging and quicker loads
  • [#27] Fix double slash issue with absolute cache paths

New in 1.2.2

  • [#21] Fix issue with file permissions on shared servers that have incorrect umask settings
  • [#23] Fix issue with expiry and S3 thumbnails
  • [#24] Respect s3hostAlias parameter for new thumbnails on S3

New in 1.2.1

  • [#14] Cloak path of generated thumbnail to prevent linking to source image
  • [#20] Added phpthumbof.cache_path setting for overriding the default cache path

New in 1.2.0

  • [#12] Fix issue where multiple fltr calls were not working, allow parameters with [] in their names
  • [#18] If output format is not specified, try to determine format from the original file extension
  • [#16] Avoid invalid file paths in HTML5

New in 1.1.0

  • [#8] Add phpthumbof.s3_host_alias setting to allow setting a CNAME alias for s3 url
  • [#10] Add fix to use modx base path rather than phpThumb default of document_root
  • [#9] Add fix for shared hosting environments using host dir aliasing
  • [#7] Add extra support for suphp by adding chmod statement to cache file
  • Added Amazon S3 support for storing cached thumbnails
  • Added plugin to clear thumb cache when clearing site cache

Current releases

View | Download
July 6, 2012
2.0 - Current