How to exclude specific files for optimization in WP plugin?

From our experience, it is good practice to be able to exclude particular files from being optimized.
With our Cloudimage WordPress plugin (v3.x), we make this option available to you.
 

How to exclude files for optimization?

Keep in mind that those options work in JavaScript mode by design. In backend mode - we use the native WordPress hooks for delivering and skipping files is only allowed by type via a customer support request.

If you are using the JavaScript mode, go to Cloudimage Advanced and you will find two options: Skip classes and Skip files.

If you want to exclude specific images in some places on your website, they are most likely wrapped in specific classes. Find those classes and put them in the field Skip classes and they will be avoided in filtering. 

If you want to avoid optimizing specific file types, go to Skip files and put the file types separated by a comma, without dots (for example mp3, svg, etc).

Screenshot_2021-01-07_at_12.25.15.png

  • If you have any questions or issues, please feel free to contact our Software Engineer and mention the following details:

    • Token
    • Short description of the issue (including URLs, screenshot, short video if available)
    • Steps to reproduce the issue.
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.