Using the Simple Image Sizes WordPress plugin

Using the Simple Image Sizes WordPress plugin
Published: by
Last updated:
Categories
WordPress

The Simple Image Sizes plugin is a simple, yet powerful WordPress plugin that helps to see what image sizes have been set, to set new image sizes and to (re)generate the image sizes.

Introduction

WordPress offers effective functionality for developers to be able to use their own image sizes.

The Simple Image Sizes plugin can either be used to tap into this functionality or be used in combination with image size-related PHP functions.

When to use the Simple Image Sizes plugin

The Simple Image Sizes plugin ads back end functionality used for generating newly set image sizes. In addition to this, Simple Image Sizes offers supportive functionality to the default image sizes set by WordPress, and additional image sizes set by other plugins, themes and website developers.

The Simple Image Sizes plugin

Simple Image Sizes (version 3.2.1) is a free WordPress plugin created by Rahe. At the time of updating, it had over 100 000 active installs and an average rating of 4.5 out of 5 stars.

Although the plugin hasn’t been updated for some time now, it still seems to work correctly on the latest version of WordPress (5.4.1).

Simple Image Sizes WordPress plugin
The official Simple Image Sizes plugin page on WordPress.org.

Installing the Simple Image Sizes plugin

Simple Image Sizes plugin
The Simple Image Sizes plugin can be installed by simply typing its name in the search bar of the Add Plugins section. After its activation, its front end is incorporated into the WordPress Media Settings section (Dashboard -> Settings -> Media).

Using Simple Image Sizes to identify additional image sizes

In addition to the default WordPress image sizes (i.e. Thumbnail size, Medium size and Large size), Simple Image Sizes will show additional image sizes (set by the theme/plugin developer).

Additional image sizes set by functions
The Media Settings showing two additional image sizes set by the add_image_size() functions.

Using Simple Image Sizes to generate new images

This is where the Simple Image Sizes plugin shines the brightest. Unfortunately, images uploaded before a new image size has been defined will have to be (re)generated to add the new size. Simple Image Sizes will do that for you.

Simple Image Sizes Thumbnail Regeneration

By scrolling down on the WordPress Media Settings section, the user will see the Thumbnail regeneration section of the Simple Image Sizes plugin. Here the user can decide exactly which images to regenerate/resize.

Options include by image public name and by post type. The user can simply make a selection and then press the Regenerate Thumbnails button at which Simple Image Sizes will start to go through the already uploaded images one by one. Unfortunately, Simple Image Sizes will not regenerate images that were already resized.

After the old images have been regenerated, WordPress will continue to regenerate new images each time they are being uploaded to the website. For this reason, Simple Image Sizes is often deactivated/deleted after old images have been updated.

Using Simple Image Sizes to create PHP code

The third handly feature of Simple Image Sizes is the ability to create PHP code for plugins/themes. This code is added to the (child) theme’s functions.php file and will allow the Simple Image Sizes plugin to be removed in the future, but still, have the image sizes active.

Unfortunately, this functionality is not complete. To be fully operational, WordPress needs image sizes to be added with the add_image_size() function and the image_size_names_choose() function. Simple Image Sizes will only generate the PHP code for adding additional image sizes with the add_image_size() function.

The downside of the Simple Image Sizes plugin

When images are regenerated, a new set of images are created from the scaled image.

The old image set can be deleted. All the other image regeneration plugins show similar behaviour.

Similar image regeneration plugins

Conclusion

Although the Simple Image Sizes plugin has some downsides and hasn’t been updated recently, it is lightweight and still packed with features that will prove handy to theme and plugin developers.

This plugin can either be used to update WordPress images after new image functions have been added or to view added image sizes.

About the author
Renier busies himself with improving his English writing, creative web design and his websites, photoshopping, micro-electronics, multiple genres of music, superhero movies and badass series.
Behind the Scenes is a free, informative website. If you find value in any of our content, please consider making a donation to our cause.
Donate via PayPal

Save, share & discuss

Your comment is important, but don't be a knob. Keep it constructive and polite.

Leave a Reply

Your email address will not be published. Required fields are marked *

More WordPress pugin related posts

Creating custom social media share buttons for posts
Creating custom social media share buttons for posts
27 October 2017 | Updated 19 March 2019
Website developers might find it necessary to have custom social share buttons at the top/bottom of their web pages. Custom buttons allow better integration with the rest of a website’s style and create a more unique look. More control over where these buttons appear on pages might also be beneficial. More…
Categories
WordPress