Morphology of gravitationally lensed galaxies