the upload directory?
On Mar 1, 3:54 pm, "Dave" <make.cake.b...@gmail.com> 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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment