Make sure there's no exception if collective.leadimage is installed and obj.image is set to NamedImage/NamedBlobImage.

Fixes #8.
Catch the attribute error instead of inspecting the object, as the error might be raised from within get_size