Wednesday, August 11, 2010

Image and thumbnal solution

I been trying to do a very simple image/thumbnail solution but I seem
to fail at every try.

I tried the most simple way:

class Model(models.Model):
thumbnail = models.ImageModel(upload_to="thumb_path" height=100,
width=100)
image = models.ImageModel(upload_to"image_path")

but apparently the default save function is not equip to handle
multiple file uploads.

I am using the admin interface for all the data uploading to the
website.

Thanks for the help.

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate