WordPress.org

Ready to get started?Download WordPress

Forums

Nextgen image size problem (5 posts)

  1. oncotton
    Member
    Posted 6 years ago #

    I have a problem with the image size in my gallery. I am using the image browser. When i change the size in the admin it does not actually affect the size. I have tried to reset and I have also made the changes and uploaded new images afterwards. Nothing seems to make any changes. Any help would be much appreciated. Thank you

  2. Yves
    Member
    Posted 6 years ago #

    Had the same problem. My image is smaller in width than the post itself and is stretched. This is actually a CSS configuration problem.
    If you are using version 0.92 and WordPress 2.5 do as follows:
    Go the "Gallery" admin panel then the "Style" sub panel.
    Check which style you are currently using (I will take the "Black Minimalism Theme" as an example) and locate the line beginning with

    .ngg-imagebrowser img

    locate the line

    width: 100%;

    and comment it or remove it altogether. Replace it with

    margin-left: auto !important;
    margin-right: auto !important;

    You should end up with something like

    .ngg-imagebrowser img {
    	some settings...
    	/* width: 100%; */
    	some other settings
      	margin-left: auto !important;
            margin-right: auto !important;
    }

    Click the "update file" button below and refresh your page. You may need to empty your browser cache for it to work.

    If you cannot edit the stylesheet from within WordPress your will need to upload a modified version of the stylesheet via ftp to the proper folder, for instance here : your url/wp-content/nextgen-gallery/css/Black_Minimalism.css

    I hope that helps.

  3. lenaluna
    Member
    Posted 6 years ago #

    thanx Yves, I had the same problem (stretching in height) and your solution worked for me!
    I only made it a bit simpler with
    margin: 10px auto;

  4. webbpottery
    Member
    Posted 5 years ago #

    I'm having problems with my thumbnail images stretching horizontally totally distorting them. See
    http://www.webbpottery.com/raku
    I have v 2.7 and using elegant grunge. Still haven't found a sol'n

  5. webbpottery
    Member
    Posted 5 years ago #

    oh.. sorry.. that in internet explorer

Topic Closed

This topic has been closed to new replies.

About this Topic