http://labs.iamkoa.net/2007/10/23/image-upload-component-cakephp/
It's not exactly the best code, but once you set it up it does the job.
On 18 Sep 2008, at 18:53, bartez wrote:
>
> hey guys,
>
> we are coming across the problem of users insisting on uploading 2000
> x 2000px images onto our system and regardless of how amuzing it is to
> see your computer screen being eaten by a oversized product image, it
> is very annoying.
>
> We need to create a way of automatically resize (both dimensions and
> file size) the files on upload before saving them.
>
> Could anyone point us in the right direction to do this within cake?
>
> Thanks in advance.
>
> Alex
> >
--~--~---------~--~----~------------~-------~--~----~
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