• Resolved drivendevelopment

    (@drivendevelopment)


    Hi there,

    Is there a filter (or other approach) that can be used to exclude PDFs from automatic optimization (while keeping the automatic optimization for images on)? We love the plugin but this is a bit of an issue for us right now as we really don’t want the PDFs to be altered.

    Thanks for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WP Media

    (@wp_media)

    Hi @drivendevelopment

    Thanks for jumping in to help, Luke!

    As Luke said, it is possible to exclude PDF files from auto-optimization by installing and activating our Skip PDF Auto-Optimization helper plugin.

    However, there is currently no way to exclude PDF files in your Media Library from bulk optimization, as this helper plugin will not prevent the Bulk Optimizer from optimizing your PDF files.

    One potential workaround would be to use an FTP program to upload your PDF files to a custom folder other than your WordPress Media Library (like /wp-content/uploads/pdf/ for example). If your PDFs are located outside your Media Library, then they won’t be optimized by the Bulk Optimizer.

    I realize this may not be an optimal solution, but it’s unfortunately the only option I can suggest at the moment.

    We do have an issue created on Imagify’s GitHub to add functionality to allow users to exclude specific file types from bulk optimization. While I cannot offer a specific timeframe for when this functionality may be added, you can track the progress here if you’d like: https://github.com/wp-media/imagify-plugin/issues/516

    ?Let me know if you need any further assistance, I am happy to help.

    Best Regards
    Marko

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Exclude PDFs from Automatic Optimization?’ is closed to new replies.