A URL field specifically for images, which can validate details about the filesize, dimensions and format of an image at a given URL, without having to read the entire image into memory.
Requires Python Imaging Library.
4th October, 2008 - updated for 1.0 compatibility.
Cool, I'll use this code in my photoblog!
Did you read all image by chunks or header only, using
data = file.read(1024) and
Why do not call
And, probably, you dont need
try: except: statement around of all these
ifs, you need this around
_get_image_details call, only, isnt it?