I keep getting:
Fatal error: Call to undefined method UploaderComponent::thumbnail()
I want to upload 1 image and then make a thumb version, cropped size and
then the original
So added the thumbnail call and the error is what i get.
if($data = $this->Uploader->upload('image', array('overwrite' => true,
'name' => $filename)))
{
$thumb = $this->Uploader->thumbnail(array('width' => 100, 'height' =>
100, 'append' => 'thumb'));
}
Any ideas?
It uploaded fine before I added the $thumb = $this->Uploader->thumbnail()
part
Thanks
Dave
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en