fix viewlet check for image fields