createThumb() method working with localhost on apache server.But, the same function not working with Amazon EC2. Which is showing an error like,
exception ‘Engine_Exception’ with message ‘Method “createThumb” not supported’ in /var/www/justrides/application/modules/Core/Api/Abstract.php:46
GD Library enabled in the server. Any suggections please.
Here is what I found on Amazon’s website:
The createthumb() function is a simple function that takes four arguments: file to process, output file name, width of output file, and height of output file. The function makes use of GD image-manipulation tools and is adapted from Christian Heilmann’s function available at http://icant.co.uk/articles/phpthumbnails/.
Here is another thumbnail library:
http://phpthumb.sourceforge.net/