fix to thumbnail view for images