WordPress.org

Support

Support » Plugins and Hacks » Nextgen image size problem

Nextgen image size problem

  • 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

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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.

    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;

    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

    oh.. sorry.. that in internet explorer

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Nextgen image size problem’ is closed to new replies.
Skip to toolbar