The thumbnail() method is no longer supported in the newer versions.

http://www.milesj.me/resources/script/uploader-plugin#Generating-Thumbnails

On Feb 2, 12:49 pm, "Dave" <make.cake.b...@gmail.com> wrote:
> 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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to