You can easily use Regenerate Thumbnails and bulk regenerate for all the images. Regenerate Thumbnail plugin updates all the details about the full size image, as well as it recreates thumbnail. It’ll update the dimension for each image, but all the other image sizes should be registered as well, else they won’t be stored in updated image meta.
If you want to just update the dimensions for the full size image, you can probably run a custom script.
Read the link you shared, and checked the code of Regenerate Thumbnail as well, the latest version don’t seem to rely on dimensions stored in image meta by WordPress, but for thumbnails, it definitely needs the image meta, all the image sizes should be registered
Related Posts:
- image_size_names_choose filter doesn’t show
- Image width tag is less than the image pixel width – why?
- Register an additional image size for only some images in my media library
- Import Images from one self-hosted WordPress install to another
- resize from small images to large
- Featured images get shrunken
- How do I migrate blog post images from one domain to a new one?
- wp_get_attachment_image_src returns the wrong image
- Intersept image upload and generate retina image from source
- How do you alter the default WordPress thumbnail?
- WordPress lowers image quality
- WordPress Media Import, images not in Media Library
- imported post image as normal image instead encoded image
- add_image_size() in custom theme is not generating and saving any thumbnail
- WordPress not using edited image
- Change the default-view of Media Library in 3.5?
- List of available events for wp.media
- Which filters or actions to use after a media upload and delete?
- WordPress 3.5 attachment_fields_to_edit and media_send_to_editor
- Why is wp_get_attachment_image_src not working with my custom size (add_image_size)
- How to upload an image in the plugin’s options page
- WP 3.5 media uploader API set selected item
- How can I hide media library images from general users?
- Remove the columns in media library
- How to rename an image attachment filename using php
- Programatically creating image attachments from local URLs and setting featured image
- Using WordPress as a document library
- How to enlarge thickbox media library iframe?
- WordPress function: limit size, only jpg, jpeg, limit of uploaded files per account
- Add tab on new media library
- Can I attach an image to a different post?
- Show ids of displayed media library items
- How can I use the TinyMCE editor for the description field on a Media item?
- Importing media medium setting image gallery / image attachments
- Upload thousands of images to WordPress without plugin?
- Adding a querystring to an image URL when clicking ‘insert into post’?
- Woocommerce Storefront WordPress Ignore Media Gallery Images and use External 3rd Party Host
- Display only my own files/images in media library
- Attachment 0×0 size error [closed]
- Site icons with alpha channel for self-hosted WordPress blog network
- HTTP Error when uploading files above 7mb unless using GD Image Editor
- is there any hooks or action to fire function of insert into post in media library?
- Sorting Media Library by Author Name
- Bulk edit of EXIF data for jpeg images uploaded in the media library?
- change video icons to selected thumbnail?
- How to upload images in a specific folder using API
- AJAX – save an $_FILES picture in media library
- In Wordress one author can not see the other’s author uploaded images through media library
- Searching for any images in media library displays “no media found”
- How to get file URL from media library
- Image file names with a space in them
- Crop image with full width
- Change media URL (images)
- the_post_thumbnail(“size”) returns same image for all sizes except thumbnail
- Media Library, hook on delete user action
- Redirect to another page using contact form 7? [closed]
- Create a User Role with permissions to only upload files to the media library?
- Why does WP allow to view and media item as a page
- Images are not showing up in “Uploaded to this post”
- How can I delete duplicate `*-1.jpg` images?
- Change Image folder Locations
- Images are displaying as blank images
- Is it possible to share WordPress media files among different domains?
- Rebuild thumbnails via WP Cli – how?
- How to manage a music library in wordpress
- How to edit a deleted image gallery?
- Large image not showing dimensions in Media Library
- WordPress ACF delete image from media library
- Import images from self-hosted to WordPress.com
- How can i sorting and display image order by siz in media library?
- Bulk Edit Media Library alt, caption, image names
- Media Library Cleanup A Thought Exercise
- Do I need to re-register all my images in the media library after a migration?
- Optimise wordpress database using SQL after deleting registered images from Media Folder
- Want to sell images online on wordpress but slow image loading issues
- still need help-images inside wp-content/ uploads/ are not showing up in my media library and uploaded using FTP protocol
- images inside wp-content/ uploads/ are not showing up in my media library and uploaded using FTP protocol
- The image keep redirect to my previous URL after I moving my site
- Images uploaded via Gutenberg image block are cropped
- Update WP Media Library image unattended
- Query all images with certain tag in media library using visual portfolio plugin
- wp_get_attachment_image_src calling wrong location
- Uploads folder only showing files up to the letter “P”
- Redimension thumbnail crop without creating new images
- Edit image itself
- Moving wp from a server to another, with different administrator
- Update all images url imported from HTML pages
- How to access media library?
- Missing Images in Uploads Directory (Server Only)
- How do I embed an image at actual size?
- Image media upload problem in page editing modus?
- Transfered live site to new server and images are not showing
- Limit files uploaded per folder
- Change the default-view of Media Library in 3.5?
- bulk deleting empty items in the media library
- Media Manager 3.5 custom options
- WordPress can’t get image url but both the attachment and the actual file are there
- Why some images are not allowed to be edited only for thumbnails?
- My subdirectory sites images (except webP) are throwing to 404 page even they are exist
- wp cli media commands not working