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
- add_image_size() for specific Post Types
- Creating an Image-Centric Custom Post Type?
- List most recent image uploads, but only for specific custom post type
- How to upload image with simple form?
- Way to force media uploader use custom image size
- Remove tabs from media uploader for a CPT
- Extract image src from a post and send it to an external form
- How to Removing fields from the Media Uploader/Gallery on a Custom Post Type Edit Page
- update custom post type meta from a shortcode
- How to localize value of posts
- Limit upload by file type only for certain custom post type
- How to append element after thumbnail
- Saving/Writing/Adding file to upload folder
- Set Custom Image Size Just For Specific Custom Post Type
- Custom Post Type | Fatal Error on register_post_type()
- How to add a random image to a post from gallery and only show one?
- Cannot attach media when capabilities added to custom post type
- Add CPT as subpage under custom page
- Custom Image Thumbnails of Different Sizes
- Duplicate Custom Header Functionality into the post edit screen
- custom post type not showing in menu
- Display users uploaded files as posts
- uploading images to specified directories
- How can I make a custom post type sticky?
- How to get the upcoming post ID from front end?
- limit value taxonomy based on previous taxonomy value wordpress
- How to change wp prefix for custom post type only?
- Metabox not show in categories custom post type cmb2
- Upload multiple images to a Woocomerce product
- Problem: wp_query outputs all images on site
- Can anyone help me with galleries and post types?
- Original image not saving?
- Custom fields for custom post type
- WordPress automatically adds links to uploaded images
- Creating my own portfolio custom-type
- How to get the Gallery form/section just like in Gutenberg block?
- Getting Un Wanted Gallery Shortcode In The Page on Loop
- Add categories to a page with out using Custom Post Types
- Create metaboxes based on custom post type
- post_parent in custom post type
- How To Post WordPress Custom Post Types to Twitter via IFTTT
- Get image from external URL
- Large amount image data transfer
- Getting only one post per category
- CMB2 metabox create select with list of post from CPT
- Update Post Status On Woocommerce Payment Complete
- Modify Posts from Custom_Post_Type within the plugin
- Custom post types, disable fields
- How to Organize and Sort Gallery of Images
- Types plugin custom post add_action hooks
- Invalid file type when using wp_upload_bits to upload PDF to a custom post type
- Returning an image url from its attachment ID using a custom post type plugin
- Not Able to Add New Class To CPT Attachment Image
- Is there a way to auto generate poster image for videos
- Reading Custom Post data so I can have user update Manually
- Remove special characters from filenames
- How to show link to product in custom fields?
- Show Post columns to specific users on condition
- Change picture attachment meta of all occurrences of a picture
- Disable ‘Add New’ in custom post that is made from CPT UI
- CPT UI: Connect a custom post type to a custom post type
- Displaying image instead of post label in wordpress
- Post that populates itself (almost) automatically using data from imported excel file
- I broke it! Custom post type archive gets redirected to home
- Can’t save custom post type fields
- How to Create movie schedule by custom post type query
- Adding CPT changes entire layout of my site except for the archive of that CPT
- Edit is changing my custom’s post type parent id
- Making a archive gallery page for a custom post type which already has an archive page
- Custom Fields as Post Type Options
- Working with gallery shortcode and get gallery images
- Custom Post Type parent slug as menu item
- How to add gallery support to a custom post type?
- Custom post type media upload error with custom user role
- Extending a CPT by Created by another plugin
- Any plugins that upload, resize, and display images? [closed]
- How to add post type in masonry posts elementory widget
- Remove plugin’s custom post type archive page and single pages [closed]
- Add Image field to CPT
- How to delete unnecessary custom post types in the UI
- add_filter > posts_where works partially
- How to show image caption in Woocommerce gallery
- Using wp_insert_post to create custom posts with ACF image field