WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by kubiq v3.9

Better image sizes

Dynamically generate only needed image sizes for only needed images, with manually selected focal point for crops

Better image sizes

The facts

Rating
5★ from 5
Active installs
2k+
Price
Free
Last updated
1 Dec 2025
Added
Nov 2022
Requires WP
3.0.1
Tested up to
WP 6.9.7
Requires PHP
5.6
Downloads
27,740

Our analysis

AI-assisted

Better Image Sizes is a WordPress plugin designed primarily for developers. It allows for the management of image sizes generated by WordPress, enabling users to disable autogenerated sizes and dynamically create only the necessary sizes for uploaded images.

The plugin includes features such as face detection cropping and focal point selection for images. It is intended for those who want to optimize server space and resources by controlling how images are processed and stored in their WordPress sites.

Best for: This plugin suits developers looking to optimize image handling on their WordPress sites.

What it does well

  • Disables autogenerated image sizes
  • Dynamically generates only needed image sizes
  • Supports face detection for cropping
  • Allows focal point selection for images
  • Free to use from the WordPress.org directory

Where it falls short

  • Requires coding knowledge to implement
  • Limited information on user experience and support

Verdict

Better Image Sizes offers useful functionality for developers wanting to manage image sizes efficiently. However, it may not be suitable for non-technical users due to its reliance on coding.

From the developer

kubiq's own description of Better image sizes, lightly tidied.

This plugin is ment mostly for developers. You need to use its functions in your theme or plugin to make it works.

This plugin offers functionality like face detection crop, focal point selector for every image, function to output responsive <picture> sizes and more.

Why to use this plugin?

WordPress will automatically create a lot of smaller images for every uploaded image.
You mostly need just 1 or 2 of them, so this is a waste of your server space and resources.
Also cropped images are generated from the center by default, which can be a problem many times.

This plugin allows you to:

  • disable autogenerated image sizes
  • dynamically generate only needed image sizes for only needed images
  • delete generated image sizes from this plugin individually or all together
  • specify different focal point that will be in the focus while creating cropped versions of the image
  • automatically detect focal point by face detection algorithm
  • disable big image size threshold, so image bigger than 2560x2560px will be NOT scaled down

How it works

  1. if you disable existing autogenerated image sizes, then newly uploaded images will not create its sizes
  2. you need to specify in your code what size is needed for the image
  3. image is dynamically created on the first visit of the page and is stored in uploads folder
  4. every next visit of that page will just load already generated image

Functions

bis_get_attachment_image_src( $attachment_id, $size, $crop )

Function inspired by default wp_get_attachment_image_src.
If you used Fly Dynamic Image Resizer before, you don’t need to replace fly_get_attachment_image_src functions in your code – there is a fallback, so you can deactivate Fly Dynamic Image Resizer and it will still work.

Parameters:

  • attachment_id (integer)(required)
    The ID of the image attachment
    Example: 123 or get_post_thumbnail_id() or get_field('my_image')

  • size (array)(required)
    An array with the width and height
    Example: [ 1920, 1080 ]

  • crop (boolean/integer/array/string)(optional)
    Skip this or pass false or 0 if you don’t want to crop, just rescale,
    otherwise pass true or 1 to use focal point crop that is selected in admin media (by default center),
    or pass array with string x-axis and y-axis parameters like [ 'right', 'bottom' ]
    or pass array with numeric x-axis and y-axis parameters like [ 0.5, 0.8 ]
    or pass string 'face' to automatically detect face position (can be exhaustive on server resources)

Returns:

array(
    'src' => (string) url of the image,
    'width' => (integer) width in pixels,
    'height' => (integer) height in pixels
)

 

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for farms and agricultural businesses.

Image Regenerate & Select Crop

Advanced management for images, register new sub-sizes, sub-sizes details, regenerate and cleanup files.

Free 8k+ installs 4.7★ (58)
Manual Image Crop

Plugin allows you to manually crop all the image sizes registered in your WordPress theme (in particular featu...

Free 8k+ installs 4.1★ (56)
Crop-Thumbnails

&quot;Crop Thumbnails&quot; made it easy to get exacly that specific image-detail you want to show in your fea...

Free 40k+ installs 4.6★ (67)
Thumbnail Editor

Manually Crop and Resize thumbnail images that are uploaded in the Media section.

Free 500+ installs 3★ (5)
WP SmartCrop

WP SmartCrop will crop your images on-the-fly to match your CSS, keeping the main focal point in view.

Free 4k+ installs 3.7★ (9)