Title: WP Coppermine Plugin
Author: cyberspice
Published: <strong>17 Tháng 5, 2009</strong>
Last modified: 19 Tháng 5, 2009

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://s.w.org/plugins/geopattern-icon/wp-cpg-widget.svg)

# WP Coppermine Plugin

 Bởi [cyberspice](https://profiles.wordpress.org/cyberspice/)

[Tải về](https://downloads.wordpress.org/plugin/wp-cpg-widget.1.0.2.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/wp-cpg-widget/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/wp-cpg-widget/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/wp-cpg-widget/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/wp-cpg-widget/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/wp-cpg-widget/)

## Mô tả

This WordPress plug-in supplies a widget that will display a configurable
 number
of images, in a configurable grid, selected in a configurable way, from a Coppermine
Gallery. When the pointer is placed over an image a larger version of the image 
will be displayed in a pop-up together with any title and description.

The plug-in supplies a settings page which allows the user to enter the
 Coppermine
database details. The widget is a fully compliant WordPress widget and can be configured
using a form on the widget’s appearance page.

On the appearance form you can choose to select how many images to display and
 
the shape of grid in which to didsplay them. You can choose whether to select random,
or the latest images, from either all of the images or a specific album. You can
also enter the text to display as the widget title.

Further details can be found at:

http://www.cyberspice.org.uk/blog/wordpress-coppermine-widget/

### History

#### Revision 1.0

Initial version

#### Revision 1.0.1

Bug fix – Fixes issue with pathing of style sheet and javascript files
 for inclusion
in to the blog page header.

#### Revision 1.0.2

Bug fix – Use of PHP 5.x ‘private’ keyword changed to ‘var’ for PHP 4.x
 compatibility.

Bug fix – Fixed FORM path when configuring the gallery database details
 in settings.

Bug fix – Removed errant space from end of file that caused PHP warnings
 displayed
in the browser.

(Last update 19 May 2009)

## Ảnh màn hình

 * [[
 * An example of the widget in use on a blog. This is my blog at http://www.cyberspice.
   org.uk/blog/
 * [[
 * The plug-in settings page. The plug-in will attempt to connect to the server 
   before accepting the settings.
 * [[
 * The widget appearance page.

## Cài đặt

Installation is relatively simple and similar to other plug-ins and widgets.

 1. Unzip `wp-cpg-widget.zip` in to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. In the ‘Settings’ menu select ‘WP Coppermine’ and enter the Coppermine web
     server
    and database details on its setting page. The settings will be validated but can’t
    be edited once set. You can reset the plug-in by de-activating and then re-activating
    it in the ‘Plugins’ menu.
 4. In the ‘Appearance’ menu select ‘Widgets’ page add to the widget to your
     sidebar(
    s) and use the edit form to enter the widget title text, select the grid layout,
    and the how to select images.

And that’s it.

## Hỏi đáp

  How do I change the Coppermine server settings?

At the moment the only way to change the settings is to de-activate the
 plug-in(
which will erase all plug-in settings) and then re-activate it.

  How do I change the style of the pop up or widget?

If the widgets appearance form is insufficient you can edit the widget
 style sheet(
wp-cpg-widget.css in the plug-in directory). The widget includes the style sheet
as part of the blog page header.

  How is the pop-up displayed?

The pop-up is a DIV element which is part of the widget HTML. Normally
 the DIV 
is hidden but its appearance and content is displayed by JavaScript supplied by 
the file wp-cpg-widget.js. The widget includes the JavaScript as part of the blog
page header.

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“WP Coppermine Plugin” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

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

[Dịch “WP Coppermine Plugin” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/wp-cpg-widget)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/wp-cpg-widget/), check out
[SVN repository](https://plugins.svn.wordpress.org/wp-cpg-widget/), hoặc theo dõi
[nhật ký phát triển](https://plugins.trac.wordpress.org/log/wp-cpg-widget/) qua 
[RSS](https://plugins.trac.wordpress.org/log/wp-cpg-widget/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Phiên bản **1.0.2**
 *  Cập nhật lần cuối **17 năm trước**
 *  Số lượt cài đặt **20+**
 *  Phiên bản WordPress ** 2.7.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **2.7.1**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/wp-cpg-widget/)
 * Thẻ
 * [Coppermine](https://vi.wordpress.org/plugins/tags/coppermine/)[widget](https://vi.wordpress.org/plugins/tags/widget/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/wp-cpg-widget/advanced/)

## Đánh giá

 4 trên 5 sao.

 *  [  0 5-star reviews     ](https://wordpress.org/support/plugin/wp-cpg-widget/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/wp-cpg-widget/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp-cpg-widget/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-cpg-widget/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/wp-cpg-widget/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-cpg-widget/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/wp-cpg-widget/reviews/)

## Những người đóng góp

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

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/wp-cpg-widget/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](http://www.cyberspice.org.uk/blog/wordpress-coppermine-widget/)