Gallery object should now raise ValueError if user tries to create
a thumbnail from an empty image field.