Title: Custom CSS classes for images
Author: nivijah
Published: <strong>2015 年 7 月 2 日</strong>
Last modified: 2015 年 7 月 2 日

---

搜索插件

![](https://ps.w.org/image-custom-class/assets/banner-772x250.jpg?rev=1191464)

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

![](https://s.w.org/plugins/geopattern-icon/image-custom-class_a5adbe.svg)

# Custom CSS classes for images

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

[下载](https://downloads.wordpress.org/plugin/image-custom-class.zip)

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

 [支持](https://wordpress.org/support/plugin/image-custom-class/)

## 描述

This simple plugin adds two additional fields to the media window, that lets you
set additional classes to images on top of the default ones.

After installation two fields will be added to the media window under an image, 
One for custom class for featured image, and the other for images who are added 
into the WordPress editor.

Multiple class should be seperated by “space”.

## 安装

 1. Upload the plugin to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. start editing images

## 评价

![](https://secure.gravatar.com/avatar/51cd52bf4132090130216d8005167c573052100ace653c544d120ea5dbf22d56?
s=60&d=retro&r=g)

### 󠀁[Still works on WP5.0](https://wordpress.org/support/topic/still-works-on-wp5-0/)󠁿

 [Jesse Dyck](https://profiles.wordpress.org/jessedyck/) 2019 年 2 月 10 日

Super simple plugin – does no more and no less than advertised. Perfect for developers
looking to bring a little more control to the media manager.

![](https://secure.gravatar.com/avatar/78b4fe2288993c48a3c1af4c08803a0d62b1bb683676473fb7bd5110b15c047b?
s=60&d=retro&r=g)

### 󠀁[Just what I needed!](https://wordpress.org/support/topic/just-what-i-needed-457/)󠁿

 [WP-Dummie](https://profiles.wordpress.org/wp-dummie/) 2016 年 9 月 3 日

I hope, you will keep the Plugin updated!

 [ 阅读所有3条评价 ](https://wordpress.org/support/plugin/image-custom-class/reviews/)

## 贡献者及开发者

「Custom CSS classes for images」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「Custom CSS classes for images」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/image-custom-class)

### 对开发感兴趣吗?

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

## 额外信息

 *  版本 **1.0**
 *  最后更新：**11 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 3.0.1 或更高版本 **
 *  已测试的最高版本为 **4.2.39**
 *  语言
 * [English (US)](https://wordpress.org/plugins/image-custom-class/)
 * 标签
 * [add class](https://cn.wordpress.org/plugins/tags/add-class/)[classes](https://cn.wordpress.org/plugins/tags/classes/)
   [images](https://cn.wordpress.org/plugins/tags/images/)[media](https://cn.wordpress.org/plugins/tags/media/)
 *  [高级视图](https://cn.wordpress.org/plugins/image-custom-class/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  3 条 5 星评价     ](https://wordpress.org/support/plugin/image-custom-class/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/image-custom-class/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/image-custom-class/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/image-custom-class/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/image-custom-class/reviews/?filter=1)

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

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

## 贡献者

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

## 支持

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

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