Turned out my “answer” was that I didn’t really understand “get_image_tag.” It only runs when you first insert an image. I was thinking that it ran every time the edit interface was loaded.
From researching and talking with others, it seems the only way to get the metabox data onto existing images is some kind of regex on the database, probably adding a shortcode around imagines that don’t have a caption and do have metabox values. Fun!
Related Posts:
- How to remove attachments size attribute [duplicate]
- How To Retrieve An Image Attachment’s Alt Text?
- getting attachement images src and add classes
- Check if post has attachments (not image)
- Validate alt text for attachments?
- Applying automatic link class to images embedded to posts
- get post attachments of a particular size
- Change image link: wp_get_attachment_link
- Making images from single.php pointing to an attachment .php template
- Add_Filter example for wp_get_attachment_link
- How to display a shortcode caption somewhere other than the_content
- wp_get_attachment_image_src always returns false
- Exact image sizes
- Get the size (size in Kb or MB) of an featured image?
- Best way to programatically add “rel” attributes to page and post images
- query attachment images … if no attachments -> get attachments of parent page?
- Replacing with(out) regex link to attachment by links to files
- Edit default image attachment size
- Change code to display image attachment page
- Attachment 0×0 size error [closed]
- Add image attachment to post via coding?
- Removing width and height attributes from wp-get-attachment
- Get post attachment images dimension and use in embed code
- use wp_get_attachment_image() to show attachments
- Adding width and height to wp_get_attachment_image_src
- Get the bare URL for an attachment
- Display attachment resolution size
- How to check if there is image title, caption, description?
- How to redirect ‘file url’ to ‘post url’ i.e. in attachment.php
- Check what attached image size is used
- How do I get all attachments that are used in the current post, not just the children?
- wp_upload_bits Upload Specific Sizes Only
- Clean up images, delete unused image sizes attached to a post type
- Get title of post image is attached to
- Correct attachment size
- Post Gallery list attachments except the one used as post thumbnail
- Get image attachment to a post outside the loop?
- How do I intercept and modify the functionality of wp_get_attachment_image()?
- Unable to get wp_get_attachment_url to show
- Get Attachment Image Class by attachment id
- Possible to add “Even/Odd Classes” to image attachments via wp_get_attachment_image?
- changing the default picture size link url
- Get an image from the media library. Struggling with the code?
- How to change an image source when rendering on frontend?
- How to view exact image dimensions of a media in Admin view?
- Filter not applied to all image sizes
- wp_get_attachment_image_src calling wrong location
- Get attachment URL from attachment Link in WordPress
- Display setting ‘size’ not available in image settings modal
- Hide Image Container if No Image Attachments
- Surround uploaded image link with div
- Incomplete attachment page
- How to retrieve “custom url” from image attachment in wordpress
- Retreive tags from attached post for media on page
- list of attachments: wp_get_attachment_link works, wp_get_attachment_image does not
- What is the most efficient way to retrieve a group of image URL’s from different attachment ID’s of a specific crop size?
- Change attachment inside the_content using filters
- How to get image title/alt attribute?
- How to add a class to the attachment images
- complex restriction of items in media library
- Edit image / Delete image link
- How could I add button next to “edit image” button in “Attachment Details”
- How to paginate attachments in a secondary query as gallery?
- Give attachments an archive page
- How can I hide media library images from general users?
- Rename image uploads replacing “width” and “height” in filename with “medium”, “large”, “small”
- Add multiple images to a page sidebar
- Retrieving a custom link on an attachment
- Delete attachments from Front end
- Add custom field to image editor
- Change Attachment Post URLs to File URLs
- How to create a CSV on the fly and send as an attachment using wp_mail?
- Contact Form 7 Data As Attachment [closed]
- Post Via Email – How to send Attachments with it (e.g. PDF File or JPEG Image)?
- Randomize attachment IDs
- Get all attachment by post excluding featured and content inside
- Get attachments from a post
- Attachment page 404
- Change default selection for “Embed or Link”?
- How can I make an attachment page for pdf uploads?
- How to hide image-url if no attachment?
- Echo list attachment size in post
- Attaching images to posts manually (i.e. with custom code, without the use of an API)
- How to get the cropped image from media library?
- How to get thumbnail from post attachment in this loop
- Attachments without images
- How to internationalize header image?
- Add a word to the first // wp_get_attachment_url // as the subdomain name
- wp_insert_attachment() dupplicate attachment posts
- Media Library Mess After FTP … /uploads
- Removing images deleted from uploads folder, from Media Library
- Custom permalink for attachment
- Overriding Generated Attachment Post URL
- Troubles with code for upload a image
- Retrieve ONLY mp3s and set a variable for use in a playlist called by single.php template?
- Insert attachments from front end form
- How do I add Facebook OpenGraph meta tags for attachments in the header for a custom theme?
- Drupal 6 to WordPress migration – media attachments
- How to access & display images from a post without textual content ( and vice versa) according to best wordpress practices
- Remove one srcset entry from wp_get_attachment_image