Does $resized_path output an actual path? And does the image exist in
the upload directory?

On Mar 1, 3:54 pm, "Dave" <[email protected]> wrote:
> I cant resize an image and just not sure where im going wrong since it seems
> pretty clear. I canupload animage but after that when I add the resize I get
> nothing.
>
> Ideas?
>
> My function:
>
> function admin_add() {
>
>         if (!empty($this->data)) {
>
>                 if ($data = $this->Uploader->upload('image')) {
>
>               $resized_path = $this->Uploader->resize(array('width' =>
> 100));
>
>         }
>       }
>  }
>
> 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

Reply via email to