Title: Code Pixelz Simple Responsive Image Gallery Plugin
Author: Utsav Singh Rathour
Published: <strong>2014 年 11 月 25 日</strong>
Last modified: 2015 年 9 月 1 日

---

搜索插件

![](https://ps.w.org/cpm-gallery/assets/banner-772x250.jpg?rev=1032379)

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

![](https://ps.w.org/cpm-gallery/assets/icon-128x128.jpg?rev=1231024)

# Code Pixelz Simple Responsive Image Gallery Plugin

 作者：[Utsav Singh Rathour](https://profiles.wordpress.org/utsavsinghrathour/)

[下载](https://downloads.wordpress.org/plugin/cpm-gallery.zip)

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

 [支持](https://wordpress.org/support/plugin/cpm-gallery/)

## 描述

Simple Gallery Plugin. Easy to use gallery plugin that lets you add gallery feature
to your website. Supports lightbox and shortcodes to display your gallery images
anywhere.

## 屏幕截图

 * [[
 * This shows the default look of the gallery.
 * [[
 * Pop up powered by Blueimp.

## 安装

This section describes how to install the plugin and get it working.

e.g.

 1. Upload `code-gallery` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. You are good to go.

## 评价

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

### 󠀁[Excellent plugin](https://wordpress.org/support/topic/excellent-plugin-2176/)󠁿

 [telleropnul](https://profiles.wordpress.org/telleropnul/) 2016 年 9 月 3 日 1 
回复

The #1 reason why I like this plugin is that you can select 100+ images from your
Media library and they are added instantly. The list of images for a gallery is 
displayed as a collection of thumbnails, which makes it easy to see what images 
you have selected for your gallery. Removing an image from the gallery does not 
immediately delete it from the Media library, which is excellent. Also, it does 
not make changes to the Media library as some plugins do. Very smooth and unobtrusive.
The Gallery is displayed using blueimp.Gallery. You can find the details here: https://
blueimp.github.io/Gallery/ This Lightbox gallery implementation is lightweight and
easy to customize. This was all it took to customize the plugin and make it display
file names as title: [ Moderator note: code fixed. Please wrap code in the backtick
character or use the code button. ] diff code_gallery.php code_gallery.php_org 283,285d282
< $attachment_title = pathinfo($attachment_url_full[0],PATHINFO_BASENAME); < $attachment_title
= substr($attachment_title,0,-4); < $attachment_title = str_replace("_"," ",$attachment_title);
287,288c284 < <div class="images"> < <a>" title="<?php echo $attachment_title;?>"
> — > <div class="images"></a><a>" 290,292c286 < </a> < <div class="title"><?php
echo $attachment_title;?></div> < </div> — > </div> 10 out of 10 would use again!

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

### 󠀁[Awesome](https://wordpress.org/support/topic/awesome-4206/)󠁿

 [ajeetshakya_cpm](https://profiles.wordpress.org/ajeetshakya_cpm/) 2017 年 2 月
8 日

Awesome 🙂 Best Gallery Plugin i have ever used.

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

### 󠀁[Works like charm](https://wordpress.org/support/topic/works-like-charm-60/)󠁿

 [suniel182](https://profiles.wordpress.org/suniel182/) 2017 年 2 月 8 日

Just what i needed. Thankyou.

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

### 󠀁[Cool](https://wordpress.org/support/topic/cool-527/)󠁿

 [Bhaskar](https://profiles.wordpress.org/cipherx/) 2017 年 2 月 8 日

Sweey and simple just like that.

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

### 󠀁[Nice one](https://wordpress.org/support/topic/nice-one-211/)󠁿

 [dhananjayapoudel](https://profiles.wordpress.org/dhananjayapoudel/) 2017 年 2 
月 8 日

The plugin is simple and easy to use. Will surly recommend to try this one. Looking
for some more useful plugins. Thanks.

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

### 󠀁[Liked it](https://wordpress.org/support/topic/liked-it-7/)󠁿

 [Alina Kakshapati](https://profiles.wordpress.org/aleenak19/) 2017 年 2 月 8 日

Liked it. 🙂

 [ 阅读所有11条评价 ](https://wordpress.org/support/plugin/cpm-gallery/reviews/)

## 贡献者及开发者

「Code Pixelz Simple Responsive Image Gallery Plugin」是开源软件。 以下人员对此插
件做出了贡献。

贡献者

 *   [ Utsav Singh Rathour ](https://profiles.wordpress.org/utsavsinghrathour/)
 *   [ Code Themes ](https://profiles.wordpress.org/codepixelzmedia/)
 *   [ vishalbasnet23 ](https://profiles.wordpress.org/vishalbasnet23/)
 *   [ Alina Kakshapati ](https://profiles.wordpress.org/aleenak19/)

[帮助将「Code Pixelz Simple Responsive Image Gallery Plugin」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/cpm-gallery)

### 对开发感兴趣吗?

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

## 更新日志

 * 1.0: First release.
 * 2.0: Major changes. Undefined Variable issue solved. Gallery is now responsive.
   Layout issues fixed. Border and fixed height removed.
 * 2.2: Added shortcode panel for easier copying on the admin post
    *2.3: Now loads
   thumbnail images, instead of full images.

## 额外信息

 *  版本 **2.3**
 *  最后更新：**11 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 3.9 或更高版本 **
 *  已测试的最高版本为 **4.3.34**
 *  语言
 * [English (US)](https://wordpress.org/plugins/cpm-gallery/)
 * 标签
 * [gallery](https://cn.wordpress.org/plugins/tags/gallery/)[image gallery](https://cn.wordpress.org/plugins/tags/image-gallery/)
   [lightbox](https://cn.wordpress.org/plugins/tags/lightbox/)[photo gallery](https://cn.wordpress.org/plugins/tags/photo-gallery/)
   [shortcode](https://cn.wordpress.org/plugins/tags/shortcode/)
 *  [高级视图](https://cn.wordpress.org/plugins/cpm-gallery/advanced/)

## 评级

 5 星（最高 5 星）。

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

[Your review](https://wordpress.org/support/plugin/cpm-gallery/reviews/#new-post)

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

## 贡献者

 *   [ Utsav Singh Rathour ](https://profiles.wordpress.org/utsavsinghrathour/)
 *   [ Code Themes ](https://profiles.wordpress.org/codepixelzmedia/)
 *   [ vishalbasnet23 ](https://profiles.wordpress.org/vishalbasnet23/)
 *   [ Alina Kakshapati ](https://profiles.wordpress.org/aleenak19/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/cpm-gallery/)