I’ve set the width of large files in WordPress’ Media settings, but how can I tell WordPress to apply the setting to all the images I’ve already inserted in posts? It’s limiting them to a previous setting of 500px wide.
Leave a Reply
You must be logged in to post a comment.
There is a plugin for resizing all your thumbnails. I think it is called the Rebuild Thumbnails plugin, or something similar
I’d say to search and replace your wp_posts SQL row for width=”500″ to width=”920″ and import it back because WordPress hardcodes that stuff inside of your post’s content.
You can also use jQuery (included with WordPress) to do it on the fly which would be easiest with:
I’d remove the height attribute so that it’s not distorted. For maximum browser compatibility add
img {height:auto}
to your CSS file after using the JS code.