Copy pasted changes for images zoom in gallery