Re: thumbnail generator
On Fri, Apr 8, 2011 at 9:47 PM, Krissy Masters
<naked.cake.baker@gmail.com> 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 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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home