WordPress.org

Ready to get started?Download WordPress

Forums

EWWW Image Optimizer
[resolved] Bulk optimize only shows 1 image (13 posts)

  1. jackennils
    Member
    Posted 1 year ago #

    Hey there,

    I stumbled upon your plugin and since I've got a few thousand images uploaded with NextGEN Gallery I needed to try it out.

    However, when I click on the bulk optimize link it tells me "We have 1 images to optimize.", but there are currently 5.261 images in my galleries (website: http://mafia-daily.net/).

    Do you have any idea why it's not working properly?
    Take a look at the debug file here: http://mafia-daily.net/debug_ewww.txt

    Works fine for the images uploaded with the internal WP media uploader.

    Also, is there a way to optimize just a single gallery at once?

    Thanks,
    Nils

    http://wordpress.org/extend/plugins/ewww-image-optimizer/

  2. nosilver4u
    Member
    Plugin Author

    Posted 1 year ago #

    It is possible to optimize single galleries from the Manage Gallery (Galleries) page. Simply choose the galleries (or just one) you want to optimize, and choose Bulk Optimize from the drop-down list.

    However, you probably won't be able to do that either, since it sounds like there may be another javascript conflict. Sometime in the next few days, I'll be pushing out a release that attempts to prevent these conflicts. In the meantime, we can try to track down what plugin is causing issues. What version of NextGEN are you using, and what other plugins do you have installed?

  3. jackennils
    Member
    Posted 1 year ago #

    Thanks for your reply.

    I'm using the latest version of NGG and these plugins as well:

    Add Link to Facebook
    AddQuicktag
    Advanced Spoiler
    Akismet
    Audio Player
    BackWPup
    Bit.ly Shortlinks
    Broken Link Checker
    Comment Redirect
    Contact Form 7
    Google XML Sitemaps
    Hotfix
    izioSEO
    JW Player
    LayerSlider WP
    nrelate Flyout
    PowerComment
    Quizzin
    Search & Replace
    Search Light
    SEO Friendly Images
    Smart 404
    Smart Youtube Pro
    Social Crowd
    TinyMCE Advanced
    UberMenu
    Use Google Libraries
    WP jwtabslides
    WP-Download Manager
    WP-Optimize
    WP-PageNavi
    WP-Polls
    WP-Print
    WP-reCAPTCHA
    WP-Syntax
    Wp2BB
    WP Overview (lite)
    WP Wall

    Tried to optimize a single gallery, but Bulk Optimize is not in my drop-down list (maybe because I'm using NGG in German?).

    Screenshot: http://i.imgur.com/VtTsyxS.png

    //Nils

  4. jackennils
    Member
    Posted 1 year ago #

    Just to give you an update: I deactivated all plugins except EWWW and NGG, still no link showing up to optimize all images of a single NGGallery.

  5. nosilver4u
    Member
    Plugin Author

    Posted 1 year ago #

    Try the latest, and let me know how it works.

  6. jackennils
    Member
    Posted 1 year ago #

    Nope, still telling me that there's only 1 image in my NextGEN Galleries. And still no Bulk Optimize entry in the drop down menu of a single gallery.

  7. jackennils
    Member
    Posted 1 year ago #

    I found out what causes the issue. It is the German translation file. If I remove the .mo and .po file then NGG is in English and the Bulk Optimize links show up!

    Hope this helps to find a workaround for a future version!

  8. nosilver4u
    Member
    Plugin Author

    Posted 1 year ago #

    That's a huge pointer in the right direction. I'll see what I can come up with.

  9. nosilver4u
    Member
    Plugin Author

    Posted 1 year ago #

    Ok, can you do this for me?

    Find the HTML code for the drop-down menu on the Manage Gallery page for NextGEN. It should look something like this:

    <select name="bulkaction" id="bulkaction">

    If you are using Chrome, you can just right-click on the drop-down menu, and click 'Inspect Element'.

    The 'name' and/or 'id' will probably be different (since you're using WP in German). Can you paste that section for me?

  10. nosilver4u
    Member
    Plugin Author

    Posted 1 year ago #

    scratch that, the quirk is somewhere else, I'm looking into it

  11. nosilver4u
    Member
    Plugin Author

    Posted 1 year ago #

    Ok, turns out the NextGEN developers localized the page hook (weird). The 'dev' version has the fix for the menu, probably need to look at the issue with only 1 image being detected. Probably need to check for localized versions of the Manage Gallery pages and such.

  12. nosilver4u
    Member
    Plugin Author

    Posted 1 year ago #

    Ok, so localizing all the NextGEN hooks causes more issues than I expected. The bulk optimize works now with the German translation activated (and presumably with any other translation too).

    I'll release a new version today or tomorrow with the fix, but you can download the 'dev' version to get the latest stuff yourself. All you actually need to update is the nextgen-integration.php file.

  13. jackennils
    Member
    Posted 1 year ago #

    Perfect! Works like a charme.

    Thanks again for all your efforts.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.