I'm about to reboot an old blog of mine and therefor I'm creating a new theme from scratch. Before I'd align pictures left and right, because it seemed good. But now I want to make it much cleaner and have all images centered using a fairly large size so users don't have to click to view.
Ususally I'd wirte a custom filter that looks for the urls, finds the attachment according to the url, then gets the new size and replaces it. But I'm wondering if there is a tool, plugin or some other way to do this on the database.
What's the most clean way to alter all the images everywhere?
Update: Please note that I want to change the actual image size and not just the CSS style. This is because all the old posts contain small thumbnails which cannot be blown up to fit the with of the container. So I need to swap the thumbnail URL for a medium size one.
Thank you for your time!
Sorry for any spelling or grammar mistakes, I'm not a native speaker.