The Advanced Options
section you are talking about the one in the Image Details
, the modal that shows when clicking here:
that part is tinyMCE, its part of the tinyMCE
editor, none of these fields are being saved in the WordPress database:
this is just and interface to gather data that will be set in the <img>
tag, it uses JavaScript
, the interface is populated when you click in the image if there is any attribute
and/or data
that was previously set there.
so you cant use WordPress functions to get those classnames.
Related Posts:
- How do I delete thousands of unattached images?
- Programmatically adding images to media library
- Creating an Image-Centric Custom Post Type?
- Programmatically get images by URL and save in uploads folder
- how to get original image using wp_get_attachment_image_src
- Can I attach image to post without adding it to post?
- WP 4.4. responsive images browser choosing the “wrong” one
- Uploaded images don’t show in Media Library if there are special characters in IPTC Keywords
- Remove images (files) that were generated when using add_image_size()
- wp_get_attachment_image_src and server path
- Using Images in WordPress – Best Practices
- How to find attachment by it’s name?
- Change html structure of all img tags in WordPress
- How do I delete all generated images from my server except those currently used in posts
- Insert an image into a post by API
- Function to call the attachment image from post
- How to create thumbnails with a fixed width, so all of them will have the same width?
- Theme Customiser Image Control
- How can I hide media library images from general users?
- Get attachment ID of author_meta image – Attachment Metadata
- Creating a rotating header /image slider using theme customization
- Associate an existing image with a post
- Adding HTML within an image title attribute
- Programatically creating image attachments from local URLs and setting featured image
- Auto delete WordPress images/thumbnails (all sizes) and featured after X days/hours, or similar?
- How do i upload an image and return the image id?
- Get Attachment ID from URL [duplicate]
- How to remove title attribute from gallery links and images
- Separate attachment images from post loop
- Automatically wrap post image in div
- How to display a shortcode caption somewhere other than the_content
- copy attachment title to description and alt text
- Get an image from url in front end submission form
- Open the attachment details modal
- How to upload image without post ID using the new media uploader?
- Allowing post attachments without allowing to insert in text
- Applying class to links around self hosted images embedded to posts/pages
- Rename attachments during upload
- How to add a rel attribute to images that contains their categories?
- How to remove link from an image in a post?
- Regex to turn embedded images in to attachments
- Re-process Images
- Show prev and next post links for parent post of current image in attachment page?
- Pulling Post Image Attachments in WordPress 3.9
- Change html structure of all img tags in WordPress
- Limit author image size
- Setup A Default Featured Image
- Link Featured Thumb to Attachment Page, If Possible
- Importing media medium setting image gallery / image attachments
- Regenerate missing _wp_attachment_metadata
- Make alt text required when setting a featured image
- Image still linked as attachment to page even though it has been deleted
- What’s the best “insert all images” plugin?
- Any way to “combine” galleries or show multiple galleries as one?
- Display one random image, but only if landscape
- get_attachment_id() only get id of first attached image after post update
- Why can I not view image attachment pages?
- Is there a way to get attachment data?
- How to change image url?
- Add a new data attribute in tag
- Can I the caption shortcode to set caption to a data attribute, and with the image’s alignment intact?
- Removing width and height attributes from wp-get-attachment
- Remove image classes from post thumbnail output
- Custom page template to display all image attachments
- Link to full size image or attachment page in photo theme
- get the image of the post
- add the post as canonical for attachment page wordpress
- How can I make all post image uploads have data-width and data-height attributes automatically by default?
- Adding width and height to wp_get_attachment_image_src
- media_sideload_image with rewritten urls?
- Photography Based Design – Multiple Images Per Post
- Add an attribute to attachments
- wp_upload_bits does not retrieve images that do not have an extension
- Out of memory error reporting
- How can I attach hotlinked images in posts/pages within the same server?
- Multiple images in one attachment page
- WordPress Image Attachment using remote image
- Exclude images from “inserted into post” when trying to get attachments
- WordPress adds extra width to post images container boxes
- Handling image uploads without thickbox
- Pull images from the gallery
- Customizing the attachement page to show rest of all images in a gallery from post
- Get ALT attribute from title post (code not work)
- Auto delete attachments that are older than x days
- Images attached to posts from library link to 404 error page
- Help to upload post attachments from Ajax
- Replacing the content of an image attachment using API
- Image LazyLoad plugin not loading jQuery dependancies with wp_enqueue_script in WP 3.3.1
- Rewrite all article pictures to link to file
- How to check for images before echo
- Does wp_get_attachment_image_src also work with non-image files?
- Remove height attribute from wp_get_attachment
- wp get attachment image always gives me thumbnail
- Call to undefined function wp_generate_attachment_metadata()
- Images give 404 after changing default domain
- How do you import images from a URL in your post?
- Get images attached to a specific page
- Retrieve Image Attachments Getting Post Thumbnail Image First
- WordPress Creates Unused (Unregistered) Image Sizes
- Need custom picture field for pages