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.

This is an ongoing post. Please suggest corrections, explanations, etc. in the comment section at the bottom of this page.

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 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 also offers supportive functionality to the default image sizes set by WordPress, built-in image sizes set by other plugins and themes and additional image sizes set by 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 see what image sizes have been set

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

Simple Image Sizes Media Settings

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 if 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.

Conclusion

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

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

Disabling the Gutenberg Editor in WordPress 5
Disabling the Gutenberg Editor in WordPress 5
9 December 2018 | Updated 14 June 2020
Most WordPress users are happy with regular updates on their favourite content management website software. For me, a striking difference, starting at WordPress 5, was the Gutenberg Editor instead of the, now, ‘Classic Editor’. Without going into too much of a discussion, this post will show how to disable the Gutenberg Editor. More…
Categories
WordPress
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