More in this section

Forums / General Discussions / Image Gallery - Centering images

Image Gallery - Centering images

2 posts, 0 answered
  1. Ryan Ternier
    Ryan Ternier avatar
    32 posts
    24 Nov 2005
    12 Jan 2010
    Link to this post
    Is it posible to have an image gallery show centered without having to customize the code and markup?
    Currently everything is left aligned however if you only have 1 row and a couple images, you might want them centered.

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    15 Jan 2010
    Link to this post
    Hello Ryan Ternier,

    You could try using Image & List mode of ImageGallery control which seems to be almost the same that you want to achieve. Most probably you will have to modify some css classes to get the controls shown as you would like it. You can map the external template GalleryBigImageAndList.ascx through ItemListTemplatePath property of the Image Gallery control.

    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
2 posts, 0 answered