Prior to WordPress 3.5 there was no gallery editor, so the normal way of a gallery was inserted was just with the shortcode, which would output all images attached to (i.e. originally uploaded to) the post. This functionality still works for backwards compatibility reasons. If this sounds awful, then yes, yes it was.
Related Posts:
- Detect if is image unattached
- Retrieving a custom link on an attachment
- how to test for attached image
- Gel all image from certain post type
- ID of images from gallery
- Hide “Gallery Settings” and “Insert into Post” button from Attachment window
- Getting attachment images is cloning some of them
- How to make a customized “Create Gallery” tab in the ‘Add Media’ window?
- Reorder “menu order” of attachments to another predefined order
- Add image attachment to post via coding?
- Ordering of gallery images without using shortcode in theme
- Custom Gallery HTML only working when images are attached to post/page
- Display random gallery images and its parent post title leading to parent post permalink
- Where does the gallery shortcode gets its attachments from?
- hide attached images of a post
- WordPress Gallery Permalink Structure Displaying Incorrectly
- How do I get just the title from wp_get_attachment_image
- changing the default picture size link url
- Programmatically Altering Gallery Link and image size?
- ID of images from gallery
- How to save media-form on custom tab
- Gallery Thumbnail Layout Template
- Can I add a Category Metabox to attachment?
- How to trigger a refresh in the media modal
- Get all post attachments except featured image
- How can I bulk delete media and attachments using WP-CLI?
- Changing attachment urls?
- Add custom class to attachment in media library grid mode
- How can I UN-attach media from a post?
- Is it possible to query specific WordPress Attachment files (.ppt & .pdf) and output them in a list?
- Unattaching unlinked images
- How to get attachments for a specific post type?
- How to add media from front-end to an existing post?
- Get attachments (get_posts) and WP 3.5 new uploader
- How to remove title attribute from gallery links and images
- Make individual attachments private?
- exposing attachment uploading to the front end — delicate
- Change the Permalink for wordpress attachment
- Get the attachment URL on single.php
- How to get list of paths (not urls) for an image
- Get a Page’s attachments in Gallery order
- How to count media attachments?
- Insert custom ID into wp_get_attachment_link
- How to add attachment without uploading?
- Change code to display image attachment page
- How To Grab All Type Of Attachments, But Images?
- Removing width and height attributes from wp-get-attachment
- How to retrieve alt attribute for an attachment (uploaded image)?
- Change filename during upload
- Get post attachment images dimension and use in embed code
- use wp_get_attachment_image() to show attachments
- List Post Attachments – Remove Image Thumbnails
- Show attached media image if no thumbnail image detected
- How do i add LIGHTBOX to Attachments?
- How to specify width and height in the_content for image attachments
- delete image attachments of a custom post type except featured image
- Import Attachments – not attaching to post_parent
- How to redirect ‘file url’ to ‘post url’ i.e. in attachment.php
- Customizing the attachement page to show rest of all images in a gallery from post
- hook wp_generate_attachment_metadata does not read all the attachments
- Massive photogallery import
- Delete associated thumbnails when calling wp_delete_attachment
- How to allow empty title for attachments?
- One picture belonging different galleries?
- Post Gallery list attachments except the one used as post thumbnail
- Echo Permalink in Attachment outside of loop?
- How can I display a link to a post’s (Word doc or pdf) attachment?
- GUID field in wp_posts – relevance for attachments?
- Gutenberg Block: Image resolution
- Attach a external file as attachement using wp_mail
- Get image attachment to a post outside the loop?
- Prevent image from being accessible via url as a post?
- Upload multiple image with media_handle_upload with multiple file field [duplicate]
- 500 internal error at wp_generate_attachment_metadata
- Delete child post and attachment links to parent post
- How can I return multiple image attachments with wp_get_attachment_image_src
- How can i catch (with get_posts) attachment file (pdf, images) from a post when i have only inserted it from media library and it isn’t upload for it?
- Remove attachment from database
- How to let a role handle media without post permissions
- How to get the next and previous image title from attachment or gallery?
- Display Audio Attachment URL
- Will wp_get_attachment_metadata display PDF metadata (eg: keyword, author, description)?
- List all files from subpages
- Add videos/images preview to bbPress attachment
- File was uploaded, but it is not shown on media section of the dashboard
- Using the GetMediaLibrary() method in python-wordpress-xmlrpc.media, how to iterate over the result?
- wp_get_attachment_metadata is empty
- Restricted Attachments/Change Attachment Upload Location
- Hide Image Container if No Image Attachments
- How to remove attachments from main query via pre_get_posts?
- Post attachments doesn’t show after manual db import
- Possible to “Attach” images to multiple posts without uploading twice from Add media Section?
- How to get boolean if file A is attached to post B
- WordPress Attachments vs Post Meta
- Get all images from posts with maximum number and without featured image
- open image after clicking on single.php with different stylesheet in wordpress
- WPML : how to pick a featured image only once for different languages?
- How do I get link URL (not file URL or attachment URL) of an attached image [duplicate]
- Attachment page custom title?
- Media library upload hook