Support » Plugin: EWWW Image Optimizer » "Folders to optimize" doesnt's save my paths

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author nosilver4u


    You need to specify the full path to the folder, and it must be within the wordpress root folder. Anything else will not validate, and be removed from the settings automatically.

    Is your uploads folder somewhere besides inside the WP folder?

    Hello again 🙂

    i have searched inside your scripts: so
    have changed my paths with full paths from the root.

    My uploads/cache folder is [….rootstuf….]/wp-content/uploads/cache
    So when scripts are launched it become just “cache” and no images are optimized.

    Plugin Author nosilver4u


    actually, the plugin should still be using the full path, not just ‘cache’. Does it keep the full path you’re using on the settings page?
    When you say no images are optimized, do you mean that the Optimize More tool says there is nothing to optimize, or that it reports No Savings on them?
    It is possible that some of those images are already optimized if the plugin creating them uses the wp_image_editor class to do the image creation. You should check the table to see what is already optimized on the Optimize More page.

    I have installed the plugin, then added two paths to optimize:

    1) my paths have been changed deleting the “/var/www……/wp-content/uploads/”: so when i tried to add some echos or printing debug info I see only “cache” and no images have been optimized.

    2) the same for another folder under “uploads”.

    When I lunch the Optimize More Tool only theme images are optimized.

    Plugin Author nosilver4u


    Where did you add the code to echo the paths?
    The best place to check is in the ewww_image_optimizer_image_scan() function which is called on each directory specified. If you turn on debugging, you should also be able to see each file that is being checked via the scan function when you run Optimize More. The development release (available via the Development tab on the plugin home page) has an improved search algorithm, and better debugging output if you want to try that also.

    One important thing to note is that the new version uses a slightly different database format (it checks for file size instead of md5sums), so you’ll have to run a Convert operation the first time on the Optimize More page and it isn’t possible to downgrade to the previous version again without emptying the image table (not generally recommended, but also available on the Optimize More page).

    It IS entirely possible that there were some bugs in the search algorithm that would have skipped images, as there were a few things I had to fix when I rewrote the function for (the dev release), and I’m not sure which of those were related to changes I was making, and which were present in 1.7.1.

    Hi there 🙂

    Thank you for your support. I will wait for next releases. I have optimized enough my website with some other plugins and server configuration: now it’s a lightning.

    I will surely add your plugin features in the future.


Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘"Folders to optimize" doesnt's save my paths’ is closed to new replies.