NetTalk Central

Author Topic: How to change the display size of Gallery image control?  (Read 3709 times)

johanco123

  • Full Member
  • ***
  • Posts: 245
    • View Profile
    • Email
How to change the display size of Gallery image control?
« on: April 06, 2015, 11:29:41 PM »
Hi Bruce

I use the gallery control on a memory form. Work fine. How can I change the image control of the gallery to change the size of the control on the window to make it bigger or smaller with a custom setting or in code.

Kind regards
Johan

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: How to change the display size of Gallery image control?
« Reply #1 on: April 07, 2015, 06:38:01 AM »
I've read that sentence maybe 6 times, and I'm still not sure I understand what you are asking... can you try again please Johan?

cheers
Bruce

johanco123

  • Full Member
  • ***
  • Posts: 245
    • View Profile
    • Email
Re: How to change the display size of Gallery image control?
« Reply #2 on: April 07, 2015, 09:03:49 PM »
Hi Bruce
How can I change the display Height or the Width of a Gallery control similar to an image control (Image Width and Image Height)?
Regards
Johan

johanco123

  • Full Member
  • ***
  • Posts: 245
    • View Profile
    • Email
Re: How to change the display size of Gallery image control?
« Reply #3 on: April 13, 2015, 11:43:33 PM »
Hi Bruce
Do you have any suggestions how to change the height and width of a gallery image display.
Kind regards
Johan

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: How to change the display size of Gallery image control?
« Reply #4 on: April 14, 2015, 07:21:17 AM »
they are set in the css;

.ad-gallery {
    width: 600px;
}

.ad-gallery .ad-image-wrapper {
    height: 600px;
}


so you could override them in your custom css code.

for build 8.45 I've added template options so you can enter a custom class for a specific gallery to apply custom css to just that gallery.

cheers
Bruce