MeioUpload and phpThumb() does not exist error
Posted
by
Cameeob2003
on Stack Overflow
See other posts from Stack Overflow
or by Cameeob2003
Published on 2012-09-07T21:35:32Z
Indexed on
2012/09/07
21:37 UTC
Read the original article
Hit count: 326
I am currently using CakePHP v2.2.1 and MeioUpload 4.0 along with phpThumb() to try and generate image uploads and thumbnails for those images. If i set my $actAs = array()
without the thumbsizes property everything is uploaded well, but when I add the following:
'thumbsizes' => array(
'small' => array('width' => 165, 'height' => 115),
'medium' => array('width' => 800, 'height' => 600)
),
to generate thumbnails I get an error stating the following:
"E:/xampp/htdocs/site/vendors/phpthumb/img/posts/image-name.jpg" does not exist
I have tried several different methods of fixing this from around the web and nothing seems to work. I am new to cakephp so this may be an easy fix and I am just not connecting the dots to find the solution. Any help would be very much appreciated.
© Stack Overflow or respective owner