Title: Exclude Post Type from WebP
Last modified: October 20, 2021

---

# Exclude Post Type from WebP

 *  Resolved [webymi](https://wordpress.org/support/users/webymi/)
 * (@webymi)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/exclude-post-type-from-webp/)
 * Is there a way to disable the WebP conversion for images in a certain post type?
   
   OR is there a way to exclude files on a per image basis?
 * Use case: I have a Custom Post Type that stores information that is later sent
   via email. Many email clients don’t support WebP, so I just need the default 
   image. Is this possible?

Viewing 1 replies (of 1 total)

 *  Plugin Author [WP Media](https://wordpress.org/support/users/wp_media/)
 * (@wp_media)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/exclude-post-type-from-webp/#post-14990118)
 * Hi [@webymi](https://wordpress.org/support/users/webymi/)!
 * This is Joseph from Imagify, and I’ll gladly assist you here!
 * Unfortunately, it is not possible to disable WebP conversion for images of a 
   specific post type or to exclude files on a per-image basis.
 * Regarding your specific use case, since Imagify keeps both the optimized JPG/
   PNG version of your images along with the WebP versions on your server after 
   optimization, perhaps you could find a way to have the email use the optimized
   JPG/PNG images rather than the WebP.
 * All file naming conventions are as follows:
 * The optimized JPG/PNG images end up with the exact same name as before. So, for
   example:
 * [https://example.com/wp-content/uploads/2021/10/image01.jpg](https://example.com/wp-content/uploads/2021/10/image01.jpg)
 * And the WebP is named like this:
 * [https://example.com/wp-content/uploads/2021/10/image01.jpg.webp](https://example.com/wp-content/uploads/2021/10/image01.jpg.webp)
 * I hope that can help you find a solution that can work for you!
 * Please let me know if you have any further questions on this and I’ll be very
   happy to assist however I can!
 * Best regards,
    Joseph

Viewing 1 replies (of 1 total)

The topic ‘Exclude Post Type from WebP’ is closed to new replies.

 * ![](https://ps.w.org/imagify/assets/icon-256x256.gif?rev=3452959)
 * [Imagify: Optimize Images for Top Speed (Compress & Convert to WebP/AVIF)](https://wordpress.org/plugins/imagify/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/imagify/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/imagify/)
 * [Active Topics](https://wordpress.org/support/plugin/imagify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/imagify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/imagify/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [WP Media](https://wordpress.org/support/users/wp_media/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/exclude-post-type-from-webp/#post-14990118)
 * Status: resolved