On 2/13/07, Dirk Eschler <[EMAIL PROTECTED]> wrote: > i use ImageWithThumbnailField to upload screenhots. In the save method i want > to set some additional model fields, like filesize and width/height of the > uploaded image. The problem is, that self.image isn't defined at this point, > the same entry has to be saved twice in the admin. > yeah, this is a problem. As for width and height, there are width and height parameters to ImageWithThumbnailField that you can use. (Look at the ImageField documentation)
-- Brice Carpentier aka Br|ce --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

