Added flip for image