add the gravity options for the image | changed another pic for better showing the diff of the gravity effect