Have you tried doing something like this? I hope it will help:
https://www.skyverge.com/blog/custom-post-type-with-image-uploads/
Related Posts:
- How to disable generation of default image sizes for some custom post types?
- Removing Image Sizes for Custom Post Type
- Image size filtering in Media uploader according to custom post type
- Change upload_dir folder at a certain cpt but cant change back
- Issue to get wp_get_attachment_image with cmb2
- How to rename image at uploading on specific plugin or post-type in WordPress
- How to insert multiple images into a single post within a CPT
- Get image post ID in media upload
- Custom Post Type with image gallery
- How to Create an Image Upload Box for Custom Posts?
- frontend image post uploader
- Adding custom image sizes and post types to a plugin or to a theme?
- Redirect to another page using contact form 7? [closed]
- How can i link a custom post type thumbnail to intermediate size
- Looping through image object using ACF and CPT UI [SOLVED]
- Multi Photo Upload with Caption on Front End for Custom Post Type
- Allow authors to create article image
- How do I create a full-bleed background image on text mouseover? [closed]
- Best action hook to create custom post and assign taxonomy terms to it on plugin activation?
- Bulk Image Uploader to create new post from each image [closed]
- Custom Post Type | Fatal Error on register_post_type()
- Set object terms not working on plugin activation
- How to add the post ID (or any other post data) to a Contact Form 7 mail?
- Adding class to featured image
- How to add a random image to a post from gallery and only show one?
- Change post featured image on hover
- GravityForm: Populate Dropdown with custom post type [closed]
- how to add extra meta box or textarea into custom post types
- Adding Attachment Display Settings in custom media frame
- “add_post_type_support” with Custom Post Type & ACF
- Shortcode insertion in tab
- Cannot attach media when capabilities added to custom post type
- Can’t get order_by meta_value_num to work properly
- How to quickly reorder posts in the admin panel that will persist for the wp-api
- Find unused images?
- window.send_to_editor and jQuery .attr() conflicts with multiple custom upload image meta boxes
- Add CPT as subpage under custom page
- WooCommerce product search titles only
- check if post title in a custom post type exists in page
- List all images from a single post meta value
- Remove fields on media uploader for custom page type – not working for “From Computer” or “From Url” tabs?
- Custom Image Thumbnails of Different Sizes
- Image gallery plugin [closed]
- Duplicate Custom Header Functionality into the post edit screen
- How to hack YARPP plugin to find related posts for custom post type?
- Force documents to appear in Featured Image dialogue
- how to get URL of media uploaded to WordPress via media_handle_sideload()
- Show listings from Impress Listing plugin in random order using taxonomy and terms
- Update menu when saving settings
- One-to-many post relationships that are displayed by category (using posts-to-posts plugin)
- custom post type not showing in menu
- Custom posts don’t work
- How to move image thumbnails into custom folder for custom post type
- How to retain $_POST data when submitting form to custom page
- Why get_posts() not returning only selected category posts from Custom Post Type?
- single-{cpt}.php ignored
- If post has custom field then display css-class
- Adding a custom post type taxonomy template in plugin
- Replace text in post from cvs
- Insert and then update post_type by wp_update_post
- Display users uploaded files as posts
- uploading images to specified directories
- Custom Post Types. Are there any disadvantages/advantages in using a plugin to develop them?
- add category name to permalinks on product page /category-name/product-name
- How can I make a custom post type sticky?
- WordPress 3.5 Media Uploader – Only allow 1 upload and certain file types
- Link to full size post thumbnail
- Hide editor while keeping add media button in custom post type
- Add a button or image button that calls wp functions in the wp-admin
- Multiple featured sizes / images / excerpts
- How can i add thumbnails images to particular post (using code not admin pannel) in wordpress
- Howto accurately position images with maximum flexibility?
- Add custom image size for custom post type or taxonomy
- How to get the upcoming post ID from front end?
- How to automatically set ‘default image size’ for specific Custom Post Type
- Not Able to Get Custom Post Type Gallery Images URL
- Action or Filter Hook for a Custom Importer
- wp_generate_attachment_metadata is creating an empty array
- How to set a CPT to have a page as a parent, then rewrite urls accordingly?
- Broken featured images are uploading from frontend
- Addition of custom option panel crashes Media Library & Admin Area
- Custom Post Type Video – Online/Offline
- limit value taxonomy based on previous taxonomy value wordpress
- Dynamic dropdown select values depending on other custom field value
- Tracking changes in admin-page so user gets warning when leaving the page
- How to change wp prefix for custom post type only?
- Send notifications to custom post author when custom post is edited
- Metabox not show in categories custom post type cmb2
- Upload multiple images to a Woocomerce product
- Ho to add “Create Slider” option to default “Add Media” popup?
- How to upload WordPress Images to remote web server and display those images in WordPress gallery [closed]
- Post injections into Site Origins Page builder [closed]
- Custom Post Type + Categories
- How to create a gallery page with categories?
- WordPress randomly shows 404 errors
- Problem: wp_query outputs all images on site
- Custom Post Type slug same as page name
- How to Get WordPress custom post data in WooCommerce product meta panel? [closed]
- Shortcode for CPT post content in a page
- custom post type and non-standard gallery