Refs #7128 Fix thumb generation for images

some review/presentation images are stored as strings instead of blobs
and don't have the get_size attribute. Trigger the regeneration of
such images on view.