John, And how would I go about installing the 'contrib.thumbnails.7.patch'? Would I use svn?
On Jul 25, 9:43 am, Patrick <[EMAIL PROTECTED]> wrote: > On Tue, 24 Jul 2007 20:21:45 -0500, John Shaffer wrote: > > You might want to look at #4115, which adds a thumbnail filter: > >http://code.djangoproject.com/ticket/4115 > > > Using this, instead of making multiple copies of the image when you > > upload it, you simply upload the original highest-quality image. When > > the thumbnail filter is used in a template, it checks if an image exists > > with the requested dimensions, and creates the image if it does not > > already exist. It can also generate the image tag automatically for you > > and avoid any distortion. > > > The patch places the files in "django.contrib.thumbnails", but you can > > actually put the thumbnails directory anywhere. Just add it your > > INSTALLED_APPS (that would be "myproject.thumbnails" if you placed it in > > "myproject/thumbnails/") and {% load thumbnails %} will load the > > filters. Do read the docs (the docs are the last file in the patch). > > How would using thumbnail filter impact performance on a page listing > thumbnails of 30 high-quality images? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" 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/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

