Support » Plugin: NextGEN Gallery - WordPress Gallery Plugin » Long descriptions break container

Viewing 12 replies - 1 through 12 (of 12 total)
  • Usually doesn’t happen, so please post an URL to the problem.
    First, you should do what’s reported here:
    http://wordpress.org/support/topic/read-this-before-you-open-a-new-thread-14?replies=2

    WP 3.7.1
    NextGen 2.0.33

    atb sandbox

    Plugin Author photocrati

    (@photocrati)

    @draino – Our latest beta (http://www.nextgen-gallery.com/nextgen-gallery-latest-beta/) has some sort improvements included … have you tried it to see if this corrects the issue you are seeing?

    – Cais.

    No that did not help – I re-inserted the gallery and long lines broke it again.

    I was using ‘NextGen TinyMCE Picture Description’ to format description but it is a bit glitchy – it would be cool if NextGen incorporated a wysiwyg editor

    Plugin Author photocrati

    (@photocrati)

    @drain0 – If you manually enter the description with HTML elements (rather than using a third-part extension for example) does this still happen … or are you using a specific (custom?) template with the Gallery display?

    – Cais.

    As my proposed site is for a non-technical user I do not and can not expect them to use HTML elements. (But yes, if I use them it works fine). I am not using a custom template.

    I say that BUT I just manually added a link and it also broke the gallery
    arttobuy.dorset-sorted.co.uk/pictures-for-sale/

    Just so you can check my markup rttobuy.dorset-sorted.co.uk/ng-description-link/

    Plugin Author photocrati

    (@photocrati)

    @drain0 – Out latest beta should take care of the HTML parsing when it is used in the Description field (or images or galleries). The other item you noted on your post is generally related to the gallery preview image (read: thumbnail) not existing or not being usable.

    Feel free to submit a Bug Report (http://www.nextgen-gallery.com/report-bug/ … please reference this topic) if the latest beta still does not sort out the HTML issue.

    – Cais.

    How about my original question “long descriptions are wider than the image and therefore break the gallery.”

    I would like the text to automatically wrap when it reaches the width of the image.

    As my proposed site is for a non-technical user I do not and can not expect them to use HTML elements.

    Upgraded to Version 2.0.40
    Descriptions that are wider than the image still break the gallery…

    So I just made a custom style to manually set the width of the container (to match image width):

    .ngg-template-caption .ngg-gallery-thumbnail-box {
    margin-right: 40px;
    width: 200px;
    }

    It works – but is it the right DIV to edit? Ta

    Plugin Author photocrati

    (@photocrati)

    @drain0 – Using Custom CSS is often the best method as it allows for the theme styles in some cases. It appears you are using the correct identifier for that caption template, you may need to adjust which elements/identifiers you use if you choose a different or custom template in the future.

    Thanks for sharing what you used!

    – Cais.

    okay thanks. It would be good if the containing div automagically did this though.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Long descriptions break container’ is closed to new replies.