WordPress.org

Plugin Directory

Theme Blvd Image Sizes

When using a theme with Theme Blvd Framework version 2.2+, this plugin allows you to change your theme's image sizes.

When using a theme with Theme Blvd Framework version 2.2+, this plugin allows you to change your theme's image sizes.

Who is this plugin for?

This plugin is mainly designed for non-developers who want to alter the image sizes for their Theme Blvd theme, but do not have the necessary development knowledge to manually make the changes from their child theme.

How does this plugin work?

As in any WordPress theme, we setup the image sizes by using WordPress's add_image_size function for each crop size. However, before these images are registered, the Theme Blvd framework applies a filter to an array of the sizes to be registered.

This allows for all of the image sizes of the theme to be easily filtered from your child theme or from a plugin... and this would be an example of a plugin that utilizes that. :-)

Do I have to use this plugin to change image sizes?

Nope. In fact, if you understand the basics of PHP and the WordPress filters API, I would suggest that you do not use this plugin and instead, you manually make the changes from your child theme’s functions.php. Realistically, running this plugin requires extra resources on your server that can be avoided by just manually make the change you want from your child theme.

If you'd like to dive into a little development action, and accomplish the gist of what this plugin does, you'd simply do something like this from your child theme:

function my_image_sizes( $sizes ) {
    $sizes['slider-large'] = array(
        'width' => '960', // Your new width
        'height' => '350' // Your new height
    );
    return $sizes;
}
add_filter( 'themeblvd_image_sizes', 'my_image_sizes' );

Requires: Theme Blvd Framework 2.2 or higher
Last Updated: 2015-5-29
Active Installs: 800+

Ratings

0 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

0,1,0
100,1,1
100,1,1
100,1,1