Yeah, that makes good sense - I tried finding out info on
djangoproject but didn't quite understand what they were for.
Thanks
On Jan 17, 7:04 pm, Malcolm Tredinnick
wrote:
> On Fri, 2009-01-16 at 21:06 -0800, DragonSlayre wrote:
> > I'm using django-thumbs
On Fri, 2009-01-16 at 21:06 -0800, DragonSlayre wrote:
> I'm using django-thumbs (http://code.google.com/p/django-thumbs/) to
> create some thumbnails for my site:
>
> class Image(models.Model):
> title = models.CharField(max_length=50, blank=True, null=True)
> caption =
Ok, I got it working, I changed:
> photo = ImageWithThumbsField(
> upload_to="site_images",
> sizes=((270,150),))
to:
photo = ImageWithThumbsField(
upload_to="static/site_images",
sizes=((270,150),))
and
> MEDIA_URL = 'static/'
to:
I'm using django-thumbs (http://code.google.com/p/django-thumbs/) to
create some thumbnails for my site:
class Image(models.Model):
title = models.CharField(max_length=50, blank=True, null=True)
caption = models.CharField(max_length=100, blank=True, null=True)
photo =
4 matches
Mail list logo