Title: Theme Blvd Image Sizes
Author: Jason
Published: <strong>2012 年 2 月 2 日</strong>
Last modified: 2015 年 9 月 7 日

---

搜索插件

![](https://ps.w.org/theme-blvd-image-sizes/assets/banner-772x250.jpg?rev=1170594)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/theme-blvd-image-sizes_ffffff.svg)

# Theme Blvd Image Sizes

 作者：[Jason](https://profiles.wordpress.org/themeblvd/)

[下载](https://downloads.wordpress.org/plugin/theme-blvd-image-sizes.1.1.1.zip)

 * [详情](https://cn.wordpress.org/plugins/theme-blvd-image-sizes/#description)
 * [评价](https://cn.wordpress.org/plugins/theme-blvd-image-sizes/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/theme-blvd-image-sizes/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/theme-blvd-image-sizes/#developers)

 [支持](https://wordpress.org/support/plugin/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.

#### 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' );
    ```

## 屏幕截图

[⌊Admin interface for plugin under Appearance > Theme Image Sizes.⌉⌊Admin interface
for plugin under Appearance > Theme Image Sizes.⌉[

Admin interface for plugin under _Appearance > Theme Image Sizes_.

## 安装

 1. Upload `theme-blvd-image-sizes` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to _Appearance > Theme Image Sizes_ to use.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Theme Blvd Image Sizes」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Jason ](https://profiles.wordpress.org/themeblvd/)

[帮助将「Theme Blvd Image Sizes」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/theme-blvd-image-sizes)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/theme-blvd-image-sizes/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/theme-blvd-image-sizes/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/theme-blvd-image-sizes/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/theme-blvd-image-sizes/)。

## 更新日志

#### 1.1.1 – 09/07/2015

 * Admin page moved to _Appearance > Theme Image Sizes_.

#### 1.1.0 – 05/29/2015

 * GlotPress compatibility.
 * Added compatibility for themes with Theme Blvd Framework 2.5+.
 * Removed compatibility for themes prior to Theme Blvd Framework 2.2.

#### 1.0.5 – 07/17/2014

 * Added selection for custom crop mode on all image sizes (requires WordPress 3.9
   +).

#### 1.0.4 – 09/06/2013

 * Added control for Mini Post Grid/List thumbnail sizes.
 * Fixed issue with “Current Image Size” not showing for each image section.

#### 1.0.3 – 09/19/2012

 * Added compatibility for framework v2.2.

#### 1.0.2 – 07/02/2012

 * Fixed small thumbnail sizes to match new “tb_small” ID used by updated themes.

#### 1.0.1 – 05/18/2012

 * Added high priority to filter so it happens after the theme runs. This is needed
   in conjunction with the [Theme Blvd Framework 2.1 update](http://www.wpjumpstart.com/framework-updates/theme-blvd-2-1-0-framework-update/).
 * On options page, adjusted changelog link at bottom to match Theme Blvd 2.1 framework’s
   slightly modified format.
 * On options page, changed “Default Theme’s Size” string to say “Current Image 
   Size” as it actually reflects what the current image size is set to.

#### 1.0.0 – 02/12/2012

 * This is the first release.

## 额外信息

 *  版本 **1.1.1**
 *  最后更新：**11 年前**
 *  活跃安装数量 **60+**
 *  语言
 * [English (US)](https://wordpress.org/plugins/theme-blvd-image-sizes/)
 * 标签
 * [crop](https://cn.wordpress.org/plugins/tags/crop/)[images](https://cn.wordpress.org/plugins/tags/images/)
   [themeblvd](https://cn.wordpress.org/plugins/tags/themeblvd/)
 *  [高级视图](https://cn.wordpress.org/plugins/theme-blvd-image-sizes/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/theme-blvd-image-sizes/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/theme-blvd-image-sizes/reviews/)

## 贡献者

 *   [ Jason ](https://profiles.wordpress.org/themeblvd/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/theme-blvd-image-sizes/)