true, worst idea becouse i need sometimes only quick view what's going
on.
If i need real thumbnail, i can do something like this:
def picture(self):
if no file called self.filename_admin_thumb:
create_the_thumb()
return ''
picture.a
I'm thinking he said it was the worst idea because it just uses the img
tag width and height to shrink the image - but the admin view would
still have to load the images at actual size.
For actual thumbnails, where the image that is loaded is actually
smaller here are some ideas:
http://groups.g
Why is that the worst idea?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EM
the worst idea is:
class Picture(models.Model):
file = models.ImageField(upload_to=settings.MY_MEDIA, blank=True,
null=True)
entry = models.ForeignKey(Entry)
def filename(self):
if os.name == 'nt':
return str(self.f
Hi -- how can I make the admin interface display images? The default
is to show the link to an image. I know it should be easy but I'm not
sure how to go about doing it.
Thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
5 matches
Mail list logo