• Hi,

    For some reason the thumbnails are resized in the gallery to 120×80, while they are 130×95.
    I have set the gallery to 4 columns so it would fit nicely on a page.
    But now there is a large white space between the thumbnails, due to the resizing.

    How do I get the gallery to show the right thumbnail size 130×95 to which they are generated?

    I tried to override any CSS with:
    .ngg-gallery-thumbnail {width: 130px ! important; height: 95px ! important;}
    but that does not work.

    https://www.ads-software.com/plugins/nextcellent-gallery-nextgen-legacy/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ronthai

    (@ronthai)

    Solved it

    Need to set the override ccs thumbnail larger to match any border,margin,etc. settings in the nggallery.css

    .ngg-gallery-thumbnail img {width: 140px ! important; height: 105px ! important;}

    This give me my created thumbnail size of 130×95 with out them being resized in the gallery. Which speeds up loading and less server usage/stress.

    Where on the CSS page do you put the code?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Thumbnails are resized in Gallery’ is closed to new replies.