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 get images by URL and save in uploads folder
- Remove images (files) that were generated when using add_image_size()
- wp_get_attachment_image_src and server path
- How to find attachment by it’s name?
- Change html structure of all img tags in WordPress
- Insert an image into a post by API
- Function to call the attachment image from post
- Theme Customiser Image Control
- How can I hide media library images from general users?
- 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
- 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
- How to display a shortcode caption somewhere other than the_content
- 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?
- Pulling Post Image Attachments in WordPress 3.9
- 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
- Image still linked as attachment to page even though it has been deleted
- What’s the best “insert all images” plugin?
- Display one random image, but only if landscape
- get_attachment_id() only get id of first attached image after post update
- 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
- Custom page template to display all image attachments
- get the image of the post
- Adding width and height to wp_get_attachment_image_src
- Photography Based Design – Multiple Images Per Post
- Add an attribute to attachments
- Out of memory error reporting
- How can I attach hotlinked images in posts/pages within the same server?
- WordPress Image Attachment using remote image
- Exclude images from “inserted into post” when trying to get attachments
- Pull images from the gallery
- 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
- 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
- Get images attached to a specific page
- WordPress Creates Unused (Unregistered) Image Sizes
- Need custom picture field for pages
- One picture belonging different galleries?
- WordPress Attachments with old images
- Apply nextgen-gallery lightbox effect [closed]
- What is the best way to associate multiple images to one page?
- How to pass on a value as parameter via url to another page
- How to get the cropped image from media library?
- Random Characters in the end of every image url in post
- Excluding post thumbnail from the attachment.php when using wordpress gallery
- How to replace post image url before posting using api?
- How to get post id of first child of the same post type?
- Can i have 2 separate Galleries on 2 separate pages each go to a DIFFERENT Attachment.php file?
- Attachments without images
- wp_insert_attachment() dupplicate attachment posts
- How to echo images Urls from a wordpress post, that are relally in the post
- SQL: How to find all attachments that are not used in any posts/pages/custom_post_types
- attachment_fields_to_save first parameter is null
- Allow users to upload attachments to certain posts
- How to disable post-thumbnail from generation?
- Alt attribute is not showing while the value is given in Media
- WooCommerce Variation Swatches and Photos – get attribute thumbnail
- How to Make Only Images Connected to a Post Show? Not Entire Media Collection?
- How can I add an “Attach image to this post/page” link on the Add Media lightbox?
- Troubles with code for upload a image
- After I upload a file to library its name converted to dashes
- Create a custom attachment thumbnail for quick page load
- Extract url from next_image_link
- Only User Upload image Http Error
- How can I hide previous_image_link() on first attachment page?
- Lots of attachments is causing slow load
- Adding thumbnails for non-image attachments
- How to access & display images from a post without textual content ( and vice versa) according to best wordpress practices
- Why images are disappearing on WordPress web site?
- Img alt tag showing different value then entered
- Featured Image not changing
- How can we see which posts don’t have a featured image or it doesn’t exist anymore?
- Image Attachments Query Not Working If Post Is Loaded Via Ajax
- How to get WordPress to resize images for srcset?
- Remove one srcset entry from wp_get_attachment_image
- Attachment tag archive