Creator: Shaun McCormick (splittingred)

Download (201 KB)

About phpThumbOf

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

See the official documentation at:


May 25, 2011
Supported Versions
2 – Current

New in phpThumbOf 1.4.0

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 openbasedir 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.cacheurl 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.cachepath 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.s3hostalias setting to allow setting a CNAME alias for s3 url
  • [#10] Add fix to use modx base path rather than phpThumb default of documentroot
  • [#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


More from Shaun McCormick



comment, articles, reactions



Login and Registrations



A simple search solution for MODX Revolution.Upgrade risksFirst of…



Gallery is a dynamic Gallery Extra for MODx Revolution. It allows…