Title: Auto bulk optimization?
Last modified: July 20, 2017

---

# Auto bulk optimization?

 *  Resolved [Tamas Rottenbacher](https://wordpress.org/support/users/rtomo/)
 * (@rtomo)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/auto-bulk-optimization/)
 * Hi,
 * How can i start auto bulk optimization?
    I would like to run the bulk opt. every
   day.
 * (Why i would like that? I use GD BPress Attachments plugin – [https://wordpress.org/plugins/gd-bbpress-attachments/](https://wordpress.org/plugins/gd-bbpress-attachments/)–
   and when users upload images, that’s not optimization. )

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [TinyPNG](https://wordpress.org/support/users/tinypng/)
 * (@tinypng)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/auto-bulk-optimization/#post-9339660)
 * 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](https://wordpress.org/support/users/rtomo/)
 * (@rtomo)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/auto-bulk-optimization/#post-9341135)
 * Hi,
    How can i get a link, which is start the bulk compress? Or need to the browser
   for that?
 *  Plugin Author [TinyPNG](https://wordpress.org/support/users/tinypng/)
 * (@tinypng)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/auto-bulk-optimization/#post-9341150)
 * Yes the bulk optimization very much relies on a browser front end because it 
   fires AJAX calls one after another.
 *  Thread Starter [Tamas Rottenbacher](https://wordpress.org/support/users/rtomo/)
 * (@rtomo)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/auto-bulk-optimization/#post-9341648)
 * 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](https://wordpress.org/support/users/tinypng/)
 * (@tinypng)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/auto-bulk-optimization/#post-9345759)
 * 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.

 * ![](https://ps.w.org/tiny-compress-images/assets/icon-256x256.png?rev=3448487)
 * [TinyPNG - JPEG, PNG & WebP image compression](https://wordpress.org/plugins/tiny-compress-images/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tiny-compress-images/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tiny-compress-images/)
 * [Active Topics](https://wordpress.org/support/plugin/tiny-compress-images/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tiny-compress-images/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tiny-compress-images/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [TinyPNG](https://wordpress.org/support/users/tinypng/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/auto-bulk-optimization/#post-9345759)
 * Status: resolved