Fork of phpThumb for it to work in cakephp 2.0
PHP JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cache
demo
docs
fonts
images
.gitignore
README
index.php
phpThumb.config.php.default
phpThumb.php
phpthumb.bmp.php
phpthumb.class.php
phpthumb.filters.php
phpthumb.functions.php
phpthumb.gif.php
phpthumb.ico.php
phpthumb.unsharp.php

README

This is for cakephp 2.0

Changes from original phpThumb v1.7.11

Remove dirname(@$_SERVER['PHP_SELF']) in phpthumb.class.php in line 1038

reason is because in cakephp 1.3
dirname(@$_SERVER['PHP_SELF']) returns /
in cakephp 2.0
dirname(@$_SERVER['PHP_SELF']) returns /index.php/webroot/path/to/image/uploads

example, /index.php/uploads/products

which causes problems when used with MeioUpload in terms of producing the thumbnails