This video on cake TV worked for me fyi. I tried just about every single image upload I could find. This tutorial is the only one I found that worked perfectly for me without too much effort (disclaimer: I'm am still very much a beginner so that is probably why those other's never worked for me)
http://tv.cakephp.org/video/jasonwydro/2011/01/29/cakephp_1_3_-_meio_image_upload_resize_gallery_tutorial On Apr 8, 10:51 pm, "Krissy Masters" <[email protected]> wrote: > I usually resize the uploaded file to a manageable size but no crop, full > image so the user never loses anything, Then allow them to crop the part > they want which crates 2 images used in the site, the thumb and the large > size image. In total upload 1 but end up with 3 (original version of > uploaded file, 1 thumb and 1 "large" for use on the site) > > Also as cricket mentions all data is saved to the db, (name x,y,w,h) > > Just to give you an idea but every case is different and may require > different sizes, number of version, and there are plenty of options on > things you can do with images dynamically thru functions. > > K > > > > > > > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf > > Of cricket > Sent: Friday, April 08, 2011 11:38 PM > To: [email protected] > Subject: Re: thumbnail generator > > On Fri, Apr 8, 2011 at 9:47 PM, Krissy Masters > <[email protected]> wrote: > > I would say on upload you make the sizes needed once. Why constantly > resize > > for each page load or on initial view / load check to see if its been > > created if not create it. But as for performance I have no proof to say > > which is better. > > I agree with you both. Libs like phpThumb do offer caching but I I > usually offer to let the user crop the thumb themselves, so it may not > be a reduced version of the image but offset, as well. Also, I > normally save the thumbnail info in the DB anyway. > > -- > Our newest site for the community: CakePHP Video > Tutorialshttp://tv.cakephp.org > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help > others with their CakePHP related questions. > > To unsubscribe from this group, send email to > [email protected] For more options, visit this group > athttp://groups.google.com/group/cake-php -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
