Hi,

I'm looking to validate my ImageField images in the admin site.  If
they are a specific size, then the whole record will save - if they
are not, then the user will be returned to the form with a validation
error message.

I've seen get_image_dimensions, but I'm not sure how this would be
used within the save method to prevent the record from saving if the
image size were incorrect.

Any help would be very much appreciated :)

Thanks,
Nick
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to