use something like phpthumb and place it in vendors see http://bakery.cakephp.org/articles/view/thumbnails-generation-with-phpthumb - S
On 3 July 2010 12:10, K3 <[email protected]> wrote: > Hi, > i am using milesj uploader behaviour (http://www.milesj.me/resources/ > script/uploader-plugin) > and it is working fine. However i want to make multiple > thumbnails(multiple resize transforms), something like: > > class Upload extends AppModel { > var $actsAs = array( > 'Uploader.Attachment' => array( > 'picture' => array( > 'uploadDir' => '/files/pics/', > 'name' => '', > 'transforms' => array( > 'resize1' => array('width' => 100, 'height' => 100), > 'resize2' => array('width' => 50, 'height' => 50) > ), > ) > ) > ); > > Anyone can tell me how to accieve this? > thanks > > 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]<cake-php%[email protected]>For > more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > 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
