This is not an easy task and I don’t think it can be covered as a forum answer.
You need to make sure that you know how to add metaboxes at post types and then how to use the media uploader of wordpress, plus plenty of javascript…
If you are not familiar with metaboxes and the uploader it will take you some time to get comfortable with them. In that case you could leave it in the choice of your theme’s users to use a plugin for this functionality. There are several plugins for this, free and premium.
Related Posts:
- Creating a rotating header /image slider using theme customization
- Any way to “combine” galleries or show multiple galleries as one?
- How can I display an image description, from an image gallery?
- Slider do not add alt attribute. Cant get alt attribute from a media library!
- WP 4.4. responsive images browser choosing the “wrong” one
- Remove images (files) that were generated when using add_image_size()
- How to have different captions for same image, for galleries?
- Using Images in WordPress – Best Practices
- WP 3.5 and Galleries – how to count images?
- Navigate with keyboard in Gallery shortcode
- Cropped featured image replaces original image in gallery
- Change html structure of all img tags in WordPress
- How to create thumbnails with a fixed width, so all of them will have the same width?
- Change the output for [gallery] shortcode
- How do you modify the HTML output of a Gallery item (using the gallery shortcode)?
- How to include externally hosted images into a gallery block
- Excludes posts that don’t have attachments in the_content()
- How to remove title attribute from gallery links and images
- How can I make all gallery images to open in a new window?
- The WordPress Gallery, Grabbing The Link and Images?
- How do I delete thousands of unattached images?
- How to force WordPress to add new images at the beginning of the gallery?
- How to remove link from an image in a post?
- Change html structure of all img tags in WordPress
- Screenshot.png not showing up
- Gallery post images on homepage?
- How to create a simple slideshow out of a post image gallery?
- How can I make all post image uploads have data-width and data-height attributes automatically by default?
- How to change the target size of images clicked on in WordPress standard gallery
- Exclude featured image from gallery in wp-admin
- WooCommerce-like featured gallery
- wp_upload_bits does not retrieve images that do not have an extension
- wordpress get gallery images title
- How to use photo in multiple posts?
- Customizing the attachement page to show rest of all images in a gallery from post
- Retrieve an array of image URLs that belong to a gallery
- Get ALT attribute from title post (code not work)
- Ho to add “Create Slider” option to default “Add Media” popup?
- How to make a gallery with dynamic images from URLs?
- How to add an image to the post preview in the free theme “food recipes”
- Divi Theme – images not showing on front page [closed]
- Problem Cropping Images From WP Customizer
- Creating a post image to show in a gallery
- Don’t show images inserted into content
- Ways to show multiple, separate galleries per post?
- Native gallery sorting is ignored
- Using Jetpack carousel w/o creating a gallery [closed]
- Basic gallery plugin suggestion [closed]
- How to get the Gallery form/section just like in Gutenberg block?
- Images give 404 after changing default domain
- Load Gallery Images with Title on Homepage BX Slider
- Re-ordering images in existing post in wordpress 3.6.1
- Autosort uploads in galleries by filename
- How to display original unmodified thumbnail
- One picture belonging different galleries?
- How would you add sequentially numbered labels to images in posts?
- Disable save as image on smartphones using all browsers ( chrome, firefox, ie, cm, opera )
- How to remove the images from “Uploaded to this post”?
- limit number of images shown from gallery
- Pagination between images (active/inactive)
- Customizing the gallery of the post correctly
- Personalized Gallery what are my options?
- How to get rid of undefined variable in previous post image
- Allow users to upload and display multiple photos
- How to change Gallery image url in product page ? In function.php?
- How do you obtain a list of all image file names on a wordpress website for replacement?
- Implementing a modal(lightbox) for all images in all post-gallery posts
- How can I change the header on the pages?
- Images getting smashed
- Lightbox not showing image caption
- How to re-arrange images in default WP Gallery more than one image at once?
- Convert multiple image blocks to gallery block in Gutenberg?
- Images 404 after wp migration to a subdomain
- Image sizes reset when changing theme
- How to make image uploads default to full size?
- Exclude first image from a Woocommerce image gallery
- Adding custom html/css/images to Theme
- WordPress 404 Images – Images not found after deleted from media
- Get “Image CSS Class” value from the Advanced Options section
- Dinamically modifying attributes of images on posts
- Gallery Images could not be shown
- Gallery with shortcode not showing
- Show WordPress Image Title Under Custom Portfolio Image
- How to display every pictures from all the posts on one page?
- Only User Upload image Http Error
- Breadcrumbs for Single Image page
- Gallery requires a featured image but does not show it in posts/pages
- Remove “align” attribute on images
- Upload button in metabox not working
- Category page with gallery for each post
- wp_get_attachment_link() add rel attribute if the link points to direct image
- Paginate Gallery [closed]
- How do I add a nested conditional within an echo – to use a default image if there isn’t one in the post?
- Getting top Image From the Gallery and printing out a thumbnail with Exact Dimensions
- How do I change a Themes Header Image?
- Adding different classes to different images depending on size for fine control of image layout in posts
- Uploaded Media Images on Site
- How to get customable image header?
- Image Attachments Query Not Working If Post Is Loaded Via Ajax
- WordPress Theme: replace logo image with title site if file doesn´t exist on server