Skip to content

An image resizer replacement script for CouchCMS using ImageMagick

Notifications You must be signed in to change notification settings

cheesypoof/CouchCMS-ImageMagick-Resizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

CouchCMS ImageMagick Resizer

This is a replacement for the default TimThumb image resizer script. The excellent ImageMagick engine is used (binary - not Imagick PHP Library), resulting in higher quality resized images (compared to the GD Graphics Library).

Requirements

Your host must have a recent version of ImageMagick installed and allow PHP's exec function. This script works fully with ImageMagick 6.4.8 and later. Compatibility may extend to earlier versions but has not been tested.

Installation

  1. Rename the existing timthumb.php script located in couch/includes to timthumb-gd.php.
  2. Go to line 16 of the new timthumb.php and replace convert with the location of your host's ImageMagick convert binary. This may be /usr/bin/convert, /usr/local/bin/convert, or something else… Contact your host for clarification.
  3. Place timthumb.php in the couch/includes directory.

About

An image resizer replacement script for CouchCMS using ImageMagick

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages