Ready to get started?Download WordPress


[Plugin: NextGEN Gallery] - ImageBrowser resizes portrait images (6 posts)

  1. Shoshin
    Posted 6 years ago #

    Hi there. I'm using ngg gallery v0.93 on wp2.5. Great plugin; Thanx Alex!

    When I open a landscape image in the ImageBrowser, the width of a post determines the width of the image. So far so good.
    But it does the same for portrait images, which then show in a much larger size than the landscape ones, resulting in stretched images and in having to scroll.

    Is there any way to resolve this, so both landscape and portrait images are shown in the same size in ImageBrowser (i.e. 500x300 and 300x500)?

    I already tried tweaking the .css for the ImageBrowser, as suggested in another topic, but I can't get it to work for both landscape and portrait oriented images.

    (By the way, the SlideShow does all this perfectly, when its options for 'width' and 'height' are set to the same value, i.e. 500px X 500px, and the 'stretch image:'-option is set to 'false'. Anything like this available for the ImageBrowser?)

  2. TomJohnson
    Posted 6 years ago #

    Shoshin, did you ever find a solution for this? I'm having the same problem.

  3. Anonymous
    Posted 6 years ago #

    the same problem here. protrait image stretch to 506 px from original width 450px. Anybody please give us a fever..

  4. bee dudler
    Posted 6 years ago #

    just to give it a try: In your choosen gallery css gallery->style look for .ngg-imagebrowser img { take out width=100% an see what happens.

    best regards

  5. Anonymous
    Posted 6 years ago #

    hi bee dudler, thanks for your kindness. Your trick is working very well.. once again thank you very much for your time..

  6. Anonymous
    Posted 5 years ago #

    Hi bee dudler, I tried your trick. works on Firefox but on IE, the image expands out to the sidebars if the original image width is wider then the width of the post. Anything else I need to change? Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic