How to avoid PDF optimization
To exclude PDF files from being optimized in Imagify, both on upload and during Bulk Optimization, you can use our helper plugin or custom filter hooks.
Using the Imagify Skipper Helper Plugin
The easiest way to prevent PDFs from optimizing is by using the Imagify Skipper helper plugin. This plugin provides a settings page in your WordPress dashboard, allowing you to configure exclusions without editing code.
- Download and install the Imagify Skipper helper plugin.
- Activate the plugin on your WordPress site.
- Navigate to the plugin settings page and select PDF (or any other format) to exclude it from auto-upload optimization, Bulk Optimization, or both.
Note: If you prefer to exclude PDFs using custom code snippets instead of a plugin, refer to our Imagify Optimization & Filter Hooks documentation.
Restoring Previously Optimized PDFs
If PDF files were already optimized prior to setting up exclusions and need to be reverted to their original state:
- Go to Media > Library in your WordPress dashboard.
- Filter or search for
.pdffiles. - Click Restore Original on individual files, or select multiple PDFs and use the Bulk Action menu to restore them. For step-by-step instructions, see the Restoring Images to Their Original State guide.
Your feedback has been sent to our team We value every bit of feedback we receive as it helps us to improve our products and services. Thank you for your time.