Asked the same question here. There is an extra step to fix this, as answered in my question.
Related Posts:
- remove links from images using functions.php
- How to add classes to images based on their categories?
- Auto delete WordPress images/thumbnails (all sizes) and featured after X days/hours, or similar?
- How to add a rel attribute to images that contains their categories?
- Best way to programatically add “rel” attributes to page and post images
- Display images that are not in the content
- How to hide image-url if no attachment?
- What are the meta fields for an attachment?
- Different image using srcset function
- Auto delete content in specific folder inside media library
- How to update an image attachment’s alt text from a custom field when saving a post?
- Open image size links in a page instead of direct image link
- Missing feature image link function
- How to change the markup WordPress inserts for post images
- How to add a class to the attachment images
- Programmatically Set First Image as Featured
- How to use get_template_directory_uri() to load an image that is in a sub-folder of my theme?
- WP 4.4. responsive loads normal image after loading the responsive image
- How to reduce original image quality on upload?
- Is it possible to maintain image aspect ratio when scaling images?
- Set image size on media and text block with a function
- Generating Responsive Background Image Sizes in PHP
- Create thumbnail on PDF upload with Gravity Forms
- Remove images from get_the_excerpt
- Use Exact Image Size using add_image_size
- Theme options WP Editor
- Display height and width properties with the_post_thumbnail() or related function
- Insert width & height attributes to all images displayed on each page
- Converting a simple plugin to be placed inside of functions.php
- Custom image size in Media Dropdown
- Removing the first image in content
- Function to auto-set a featured image that is already in use
- Actions according to image type and size
- Woocommerce Storefront WordPress Ignore Media Gallery Images and use External 3rd Party Host
- Overwrite Parent Theme add_image_size in Child Theme
- Images uploaded using media uploader are appearing upside down
- Find first image on paginated post for Pinterest
- How to add css class to image attached in all the posts?
- Add custom image size not working
- How can you limit srcset on a single type of page?
- how to add an image to the footer?
- How do I permanently Disable Attachment Post URL
- wp_get_attachment_image function size argument not working if I also add a custom class
- Can’t check if a post has thumbnail adding filter to get_post_metadata()
- Why does the ‘wp_nav_menu’ function work only until a menu is created?
- Understanding and altering the structure of posted images
- Load post attached images on a single page site with fancybox
- Publish/Update post is changing image links from file url to post url
- Twentyten Child Theme: header images display messed up in admin panel
- Disable auto-resizing of uploaded images, but only for certain filename
- Can you put a condition on add_image_size() depending on the width of the uploaded image?
- Remove after images
- Generating dynamic css into custom file [closed]
- Can’t generate thumbnail images
- Option Tree integration of Custom CSS
- How to stop wordpress from injecting hard-coded style into image attachments with captions
- Limit dimensions of “Full” size images
- How to get an attachment id from a filename
- Show some menu sub items as dropdown under a menu item
- How to properly set custom logo size?
- $_Get and &_REQUEST Index Undefined on Functions.php
- Need To Change WordPress Meta Tags… Includes wordpress shortcodes
- How to Add Shortcode to html img code?
- Adding theme option values as custom body class
- How to add a new image size and apply it to posts only?
- Remove attachment page for audio media type only
- Image Crop Not Working
- Use existing image sizes for WooCommerce
- Problem in using Customizer
- wp_get_attachment_image_src returns image on main domain, false on subdomain
- Retrieve First Image Function
- Custom Image Size in Insert Media
- Featured Image keeps cropping
- Prevent creating multiple image resizes in twentytwelve template
- Conditional function for excluding first image from content, not working
- get_image_tag() html output : empty src attribute
- Need To Resize Images Exactly Without Losing Image Details
- How to add or delete default value theme options while activate and deactivate theme
- how can I change all wordpress media file url to custom cdn url?
- Is it possible to limit number of files a non-admin user can upload via the WordPress media library?
- large image size of 1440×1440 not pulling 2x of 2880×2880 image
- Can You Set A Minimum Image Dimension For Resizing Images?
- blank page with wp_get_attachment
- (Divi): How to make WordPress load images of specific size for Blurb modules on given page with a funciton?
- Remove all video attachment, both files and post/postmeta from database?
- Featured image on archive page based on post type
- restrict uploaded image size and fixed image display size
- Using Switch Statement to Change Image According to Last Digit of Topic ID
- Disable links to images only if link is an image
- Restricted images only for logged user. (hidden url)
- No compression occurs on my jpegs after adding jpeg_quality hook to my functions.php file
- Different body image backgrounds on different pages, posts and categories
- Update add_image_size
- Full size image option removing problem
- Function to get thumbnail img source
- Why don’t ‘wp_nav_menu’ CSS classes work until a menu is created?
- How to resize image from import image url?
- How to crop image in WordPress with aspect ratio for any size of image
- How to add height and width dimensions automatically to archive descriptions
- How to overwrite image if it already exists – WordPress, Gravity form