Add beautiful layout for images in gallery