• Resolved gamerwithadegree

    (@gamerwithadegree)


    Hi,

    NextGen gallery insert gallery function appears to be broken.

    I am inserting galleries into a WYSIWYG editor that is set up using advanced custom fields. The WYSIWIG editor field shows up for my ‘game’ post type and I use NGG to insert game screenshots gallery into the WYSIWIG field.

    However, since possibly the last update or a previous update, whenever I edit the game or the gallery and re-insert it seems to completely break the displaying of images. Instead on the front end, all I see is:

    “NextGen Gallery

    Edit

    Delete”

    When viewing the HTML code for the WYSIWIG field it does not look right either.

     
    
        <div class="mceItem mceNonEditable nggPlaceholder"
             id="1645785656930"
             data-shortcode="ngg src=&quot;galleries&quot; ids=&quot;411&quot; display=&quot;basic_thumbnail&quot; images_per_page=&quot;16&quot;"
             data-mce-resize="false"
             data-mce-placeholder="1"
             contenteditable="false">
            <h3>NextGEN Gallery</h3>
            <div class="nggPlaceholderButton nggIgwEdit">
            	Edit	
            </div>
            <div class="nggPlaceholderButton nggIgwRemove">
            	Delete
            </div>
        </div>

    There is a non-breaking space being added and HTML code instead of just gallery shortcode which I believe is supposed to be there.

    I have tried deleting and re-inserting galleries. I have also tried to roll back to previous NGG versions but they all result in the same broken galleries.

    Oddly though, galleries inserted into actual posts appear to be unaffected.

    Can you please advise a fix for this or release and update to fix it as a matter of urgency? I was considering buying NGG Pro, but if the plugin is going to break with almost every update then I obviously will not be inclined to actually pay for it.

    Thanks.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor Imagely

    (@imagely)

    Hi @gamerwithadegree,

    Could you please let us know what WYSIWIG editor are you using?

    Thread Starter gamerwithadegree

    (@gamerwithadegree)

    Hi,

    It is the WYSIWIG editor that you can insert into a field group using ACF. Under content > WYSIWYG editor

    https://imgur.com/ZlI8fvI

    https://imgur.com/e05OOYU

    Thanks

    Plugin Contributor Imagely

    (@imagely)

    Thanks @gamerwithadegree,

    Could you also let us know what NGG version were you previously using when inserting a NGG gallery to an ACF field used to work?

    Thread Starter gamerwithadegree

    (@gamerwithadegree)

    Hi,

    I believe it was 3.22, the one before the current version.

    Thanks.

    Plugin Contributor Imagely

    (@imagely)

    Thanks for working with us on localizing the issue. We could replicate the problem on our own testing instance and we have created an issue ticket for the dev team.

    We hope to see this one resolved into one of the upcoming NextGen Gallery plugin’s updates.

    Two issues:
    I am having trouble with a gallery in NGG pulling images from another gallery.
    My theme is portfolio lite. The URL in one gallery states it is the gallery i don’t want. It only appears on the live page.
    item 2
    images are repeating in another gallery.

    my site is https://www.janicetayler.com/
    ‘layered suspensions’ is the gallery i am having the first problem
    ‘sold work’ is the gallery that is repeating images

    Thanks for any advice.

    Plugin Contributor Imagely

    (@imagely)

    Hi @bucky8338,

    Please open a new thread for your requests that are unrelated to the topic of this thread.

    Thanks

    Thread Starter gamerwithadegree

    (@gamerwithadegree)

    Hi, this issue has reared its head again in NGG 3.24. The previous issue I reported above was on a test site. This is my live site.

    Galleries added prior to the last update, which was a couple of days ago I think are displaying fine. I have added two galleries today which now only show the EDIT and DELETE links on the page.

    The same scenario, galleries are added to a WYSIWIG editor field inserted by ACF.

    When viewing the text tab of the editor the code looks like this:

    &nbsp;
    
        <div class="mceItem mceNonEditable nggPlaceholder"
             id="1648140472802"
             data-shortcode="ngg src=&quot;galleries&quot; ids=&quot;428&quot; display=&quot;basic_thumbnail&quot;"
             data-mce-resize="false"
             data-mce-placeholder="1"
             contenteditable="false">
            <h3>NextGEN Gallery</h3>
            <div class="nggPlaceholderButton nggIgwEdit">
            	Edit	
            </div>
            <div class="nggPlaceholderButton nggIgwRemove">
            	Delete
            </div>
        </div>

    This is the most basic functionality of your plugin. The ability to display images on a website. How can you break this with almost every update?

    Can anyone recommend a better gallery plugin that allows importing from next-gen glalery?

    Thanks

    Plugin Contributor Imagely

    (@imagely)

    Hi @gamerwithadegree,

    Could you please try adding the constant from below to your site’s wp-config.php file to see if that’ll change anything:

    define("NGG_DISABLE_SHORTCODE_MANAGER", TRUE);

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘NGG Insert Galery broken, only showing Edit Delete on page’ is closed to new replies.