+1-888-365-2779
Try Now
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
    Registered:
    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
    Registered:
    25 Nov 2016
    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.

    Regards,
    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