Introducing auto get images for custom post type