• I am having problems with thumbnails being displayed squashed and compressed tight together in my WP page: http://www.sjmillersoftfurnishings.co.uk/fabric-collection/fabric-collection-3/

    You will see that the height of the thumbnail is correct, it is the width that gets squashed together.

    I have another WP website thet uses NextGEN without a problem, so I have compared the settings and they are identical as far as I can see. The only difference is the theme.

    The NextGEN gallery opens OK and everything else seems to work fine.
    I have tried un-installing the NextGEN, re-installing it and disabling all other plugins but the problem persists.

    Anyone got any ideas what is wrong?
    Any help or assistance would be appreciated.
    Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter mattcarr

    (@mattcarr)

    I have just noticed that this is only happening in Internet Explorer.
    Firefox and Safari are displaying the gallery fine?

    So if anyone can point me in the right direction to make it work in IE that would really be appreciated.

    I upgraded to 1.7.1 rc1 http://alexrabe.de/2010/12/05/nextgen-gallery-v1-7-0-rc-1/ and I’m having the same problem. Some images (in IE8 only) are squished – tall and thin.

    Is there a fix for this?

    Thread Starter mattcarr

    (@mattcarr)

    Here is the fix that got NextGEN thumbnails working properley for me in all browsers…

    The problem is some code that is inside you style.css (or depending on your theme, whatever the .CSS is named as).

    I always use FTP to manipulate CSS files not the WordPress editor, but thats my preference, its up to you to decide how you want to do it, but this is what you need to do…

    First thing is to backup (save) your css file using a slightly different name, so if it is called style.css save it as style-ORIGINAL.css or whatever name you will recognise it as should you need to revert back to it.

    Open your .css file to edit it and then look for the following code:

    #content img, #content p img {
         max-width: 100%;
    }

    Once you find this entry, you need to DELETE it, and then save the .css file using the name your WP will recognise it as, so in the above example style.css

    That’s it! You should now have your NextGEN thumnails looking exactly as they should do and not squashed up in all browsers.

    I can only assume that IE looks at that code and does something whilst Firefox and Safari ignore the code.

    Good Practice After A Code Snippet Change Like ThisDepending on what theme you are using, you may need to check that removing this snippet of code hasnt caused any un-wanted changes elsewhere, for me it hadn’t but its wise to check whilst this modification is fresh in you mind what you have just changed.

    I hope the above helps all those that have been banging their heads trying to work out what was causing the problem.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: NextGEN Gallery] NexttGEN – Thumnails squashed tight together’ is closed to new replies.