fix for image gallary