WordPress.org

Ready to get started?Download WordPress

Forums

NextCellent Gallery - NextGEN Legacy
Thumbnails are resized in Gallery (3 posts)

  1. ronthai
    Member
    Posted 1 year ago #

    Hi,

    For some reason the thumbnails are resized in the gallery to 120x80, while they are 130x95.
    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 130x95 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.

    http://wordpress.org/plugins/nextcellent-gallery-nextgen-legacy/

  2. ronthai
    Member
    Posted 1 year ago #

    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 130x95 with out them being resized in the gallery. Which speeds up loading and less server usage/stress.

  3. Matthew
    Member
    Posted 1 year ago #

    Where on the CSS page do you put the code?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.