How to Change Image Size in Post Content WordPress?


This post contains affiliate links. If you click through and make a purchase, I may receive a commission (at no additional cost to you). This helps support the blog and allows me to continue to make free content. Thank you for your support!


Sometimes, you may not like your current WordPress theme, and you may think of replacing it with some other template.

Themes allow you to export settings. But the settings you back up will be compatible only with the theme i.e. You can’t move settings of a Mythemshop template to TagDiv NewsPaper or Elegant Themes Divi.

When you change your template, you may have to tweak the design for the best experience of the user. You may also have to change image sizes so that the blog posts don’t look horrible or broken.

Changing design is an easy task in an advanced or premium theme. If you want to change the code, you can get help from the theme developer. You can manually modify the code by editing the respective PHP file with the CPanel, Linux Terminal or Windows Putty.

Changing image size is an easy task if your WordPress blog has 10 to 20 posts. For a large site with over 100 posts, this is a very frustrating and time-consuming task.

You will have to write a filter that modifies the width and height of blog post images. The filter must have a regex expression to match image dimension pattern. The best way to change image size in WordPress post content is by using replace content image size plugin.

RCIS plugin adds an image dimension changer to your WordPress dashboard. You can access this utility under the tools option in the WP dashboard.

replace content image size wordpress plugin

Changing the dimension of images in published posts is a 3 step procedure in RCIS. Before you go ahead and run this tool, make sure that you’ve created a WordPress database backup as the plugin modifies the post DB table.

In the 1st step, you’ll be asked to enter the width, new size and post type.

In the 2nd step, the plugin will process the input data, and it will display a list of the posts along with their HTML image code and pictures. It will also display a toggle box to select a picture/post and an update button.

To change image size, the user must click on the update button. Once the plugin has processed the DB, it will display a success message.

change image size wordpress post

WordPress 4.4 automatically makes images in blog posts responsive. You can check the result by opening the blog posts in different browsers.

My Verdict:  Though the plugin is new and it doesn’t have too many ratings, the RCIS plugin works great. I’ve used it on a WordPress blog with 1100 posts and 4000 images. You can get the plugin from the repository.

About the author


My name is Pramod. I’m a software developer (with good knowledge on PHP, JAVA – Android, JavaScript, CSS), blogger and online marketing professional. I’ve 3 years of experience as a blogger and 2 years of full time experience as a software developer.

About Author

Ian Carnaghan

I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.

Follow Me