Added and image center option to the gallery