Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author TinyPNG

    (@tinypng)

    Hi Rtomo, you are right the plugin is only loaded in the WordPress admin area so only images uploaded there are automatically compressed. And the bulk optimization is made to compress your existing media library by going to the admin area and clicking on the start button.

    So we are not really sure what you can do to get this done automatically every day. It sounds like a need for cron job plus changes to the plugin that can run every day or a modification that would allow the plugin to run in the front-end as well.

    Thread Starter Tamas Rottenbacher

    (@rtomo)

    Hi,
    How can i get a link, which is start the bulk compress?
    Or need to the browser for that?

    Plugin Author TinyPNG

    (@tinypng)

    Yes the bulk optimization very much relies on a browser front end because it fires AJAX calls one after another.

    Thread Starter Tamas Rottenbacher

    (@rtomo)

    Okat, i understand.

    The new, daily or weekly cron modification is a big work for you? ??
    (wordpress cron or external link cron)

    Plugin Author TinyPNG

    (@tinypng)

    Yes it is quite a change. Although possible of course, as code for discovering what can be compressed is available (function Tiny_Image::get_optimization_statistics does just this). So what is needed is coding in the backend which takes this list of images that can be compressed looping through them. And making sure the whole thing doesn’t timeout and give back some information what is going on.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Auto bulk optimization?’ is closed to new replies.