Title: Fix for custom post types and slider content?
Last modified: March 28, 2024

---

# Fix for custom post types and slider content?

 *  Resolved [kathyb](https://wordpress.org/support/users/kathybarber/)
 * (@kathybarber)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/make-it-work-with-custom-post-type/)
 * I’m loving your plugin! It’s working great for me with the media library, posts
   and pages. But I’ve just noticed it’s not working with my custom post types and
   slider plugin (Slide Anything and Metaslider). When you upload an image via the
   content editor in these places it doesn’t seem to be triggering the auto convert.
   I think I remember reading about this in your documentation, but can’t find it
   now. Is there a filter (or similar) I can add to functions.php to get it working
   with CPTs and other content types? Any help much appreciated.
    -  This topic was modified 2 years, 2 months ago by [kathyb](https://wordpress.org/support/users/kathybarber/).

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

 *  Plugin Author [kubiq](https://wordpress.org/support/users/kubiq/)
 * (@kubiq)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/make-it-work-with-custom-post-type/#post-17534719)
 * Hello,
 * custom post types are just normal posts, so it works there, so I’m not sure what
   you mean.
 * Ofc, plugins that create custom database tables, like most slider plugins do 
   for some weird reason, there I need to identify where and how it store images
   and then I need to add this logic to my plugin to make it compatible with these
   extra database tables.
 * Images in database can be stored in many different ways, eg. as ID or link or
   path or just image name… it can be part of serialized data, jsons, etc…
 * Sometimes you even upload image with the same name and as they are stored in 
   folders named by years and months then you need to replace their names very carefully
   in database, so it’s pretty complicated.
 *  Plugin Author [kubiq](https://wordpress.org/support/users/kubiq/)
 * (@kubiq)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/make-it-work-with-custom-post-type/#post-17534735)
 * Please post plugins links in here that you want me to check and I’ll take a look
   on it soon.
 * If these are some premium version, then I’m afraid I can not do that if I don’t
   have needed licenses.
 * They also should have at least 10K+ downloads, as there are millions of plugins
   and I can not support every small one.
 * In meantime you can fix your sliders by reselecting images from media library
   as there you will have JPG now.
 *  Thread Starter [kathyb](https://wordpress.org/support/users/kathybarber/)
 * (@kathybarber)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/make-it-work-with-custom-post-type/#post-17535265)
 * Thanks for the quick response. You’re totally right, apologies! It’s all working
   fine. It was a testing error on my part (using the wrong PNG file for testing:
   no savings, so no compression).
 * I was trying to debug why a PNG was uploaded without being converted, but this
   wasn’t the issue. I haven’t been able to recreate the non-conversion, so I’ll
   just put that down to a random glitch.
 * I’ve retested the CPTs and both the slideshow plugins I mentioned (Slide Anything
   and Metaslider) and it’s working and converting fine.
 * So no issues. Delete this thread if you want, as probably not helpful for anyone
   else!

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

The topic ‘Fix for custom post types and slider content?’ is closed to new replies.

 * ![](https://ps.w.org/png-to-jpg/assets/icon-256x256.png?rev=1484560)
 * [PNG to JPG](https://wordpress.org/plugins/png-to-jpg/)
 * [Support Threads](https://wordpress.org/support/plugin/png-to-jpg/)
 * [Active Topics](https://wordpress.org/support/plugin/png-to-jpg/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/png-to-jpg/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/png-to-jpg/reviews/)

## Tags

 * [custom post type](https://wordpress.org/support/topic-tag/custom-post-type/)

 * 3 replies
 * 2 participants
 * Last reply from: [kathyb](https://wordpress.org/support/users/kathybarber/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/make-it-work-with-custom-post-type/#post-17535265)
 * Status: resolved