Plugin info

Total downloads: 6,879
Active installs: 90
Total reviews: 9
Average rating: 4.6
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 3
Last updated: 8/31/2015 (3774 days ago)
Added to WordPress: 5/29/2012 (13 years old)
Minimum WordPress version: 3.3.2
Tested up to WordPress version: 4.3.34
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 3774 days ago • 9 reviews

22/100

Is Replace Content Image Size abandoned?

Possibly abandoned (last update 3774 days ago).

Compatibility

Requires WordPress: 3.3.2
Tested up to: 4.3.34
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Custom Image Sizes by 99 Robots
Rating 3.7/5 (3 reviews)Active installs 600
Product Size charts for Woocommerce
Rating 3.3/5 (3 reviews)Active installs 80
Calculate price by weight/dimension for WooCommerce
Rating 0.0/5 (0 reviews)Active installs 30
Easy Image Sizes
Rating 5.0/5 (5 reviews)Active installs 1,000
Better image sizes
Rating 5.0/5 (4 reviews)Active installs 1,000
Responsify WP
Rating 5.0/5 (18 reviews)Active installs 700

Description

For each image uploaded WordPress generates several versions with different sizes. These images will be inserted
in the post content using the visual editor selecting the right format size for the current theme, so that
images can be displayed correctly in the theme layout avoiding the overflow to the sidebars or another elements.

These images are now part of the content, and are harcoded in posts independently to any change in the design
or behavior of the blog.

Therefore, when switching your theme to another theme smaller, or the new theme is very big respect the old
layout, may be these images do not fit perfectly with the new design.

For these cases the purpose of this plugin is the searching in the post content of images with the old image sizes
(that result bad sizes for the current theme) and replace it for the right image format: thumbnail, medium, large,
full or custom format size.

The process is simple and consists of three steps. The first step is a form to introduce the width to find, or the
period between two widths separated by an hyphen (-) with max 100 points of difference. Optionally you can enter
a custom post type, or leave blank for the ‘post’ post type.

In the next step present the coincidence or multiple coincidences for each post, with the old html code in grey color,
and in black the replacement, and also the new image is displayed. For each item there is a checkbox (by default checked)
that you can uncheck if the result is wrong or an exception.

Finally, at the end of the list, a submit button can perform these changes. Before this final step, is advisable to
backup your posts table.

Installation

  1. Unzip and upload replace-content-image-size folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to menú Tools > Replace Content Image Size and follow the steps.

Frequently Asked Questions

Is this plugin safe for the content of my posts?

Each post that needs to be altered goes through a process of reconstruction that fragments in chunks the post content
(it is splitted based in newline character), replaces img elements and attributes width and height, and finally implodes
to join the fragments and update the posts table. It is possible that an strange error may occur, and for this reasons
we recommend to backup your posts table before launch de last step of the replacement process.

Review feed

Muhammad Ismail
1/13/2017

Gets the Job Done, Perfectly!

What a simple and effective plugin to get the job done. I was able to replace old Image Sizes to the New Image sizes with one click. And before changing the sizes, it gave me preview for all OLD image html tags and the new tags will be... Thank you so much for the great plugin! Great work Pau Iglesias!

Screenshots

  1. The 2/3 step where you can confirm the changes to make in the posts content.

    The 2/3 step where you can confirm the changes to make in the posts content.

Changelog

1.2.1

Release Date: July 15th, 2015

  • Resolving a bug when replacing class attribute value
  • This bug depended on the class attribute relative position
  • The main symptom was lack of closing quotes in class attribute

1.2

Release Date: April 17th, 2015

  • Change $wpdb->escape by esc_url function
  • Success test with custom post types
  • Fix bad scope internal function variable mod_sum
  • Fix post_type hidden form var warning and 3th step
  • Tested code for WordPress 4.2 version.

1.1

Release Date: March 28th, 2015

  • Tested code for WordPress 4.1.1 version.
  • Some warnings on undefined variables fixed.
  • Defered load plugin textdomain to plugin admin section (improve performance).
  • Added style to submit buttons.
  • Fix PHP strict warnings and set properly scope of class methods.
  • Fix class size-[alias] of html img code.
  • Added clean_post_cache when update post.
  • Change strpos by stripos when needed.

1.0

Release Date: May 29th, 2012

  • First and tested released for WordPress 3.3.2