Title: G3Client
Author: fstoffel
Published: <strong>2011 年 2 月 13 日</strong>
Last modified: 2011 年 2 月 19 日

---

搜索插件

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

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

# G3Client

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

[下载](https://downloads.wordpress.org/plugin/g3client.0.2.0.zip)

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

 [支持](https://wordpress.org/support/plugin/g3client/)

## 描述

G3Client embedds Gallery3 resources (albums, photos) into a WordPress posting or
page.
 It requires the following software available on the server:

 * PHP 5 (tested with 5.3, recommended)
 * WordPress 3 (tested with 3.0.5)
 * Gallery3 with REST API (tested with Gallery3 3.0.1)
 * PHP CURL Extension or HTTP_Request2 (http://pear.php.net/package/HTTP_Request2/)

## 屏幕截图

[⌊The preferences page⌉⌊The preferences page⌉[

The preferences page

[⌊The embedded gallery created by G3Client (default style sheet)⌉⌊The embedded gallery
created by G3Client (default style sheet)⌉[

The embedded gallery created by G3Client (default style sheet)

[⌊Embedded gallery showing an album containing an album and photos⌉⌊Embedded gallery
showing an album containing an album and photos⌉[

Embedded gallery showing an album containing an album and photos

[⌊Full image view using the lightbox (fancybox)⌉⌊Full image view using the lightbox(
fancybox)⌉[

Full image view using the lightbox (fancybox)

## 安装

 1. Upload g3client.zip to the `/wp-content/plugins/` directory
 2. Unzip g3client-VERSION.zip
 3. Install and activate `G3Client` in the plugin manager
 4. Make sure you’ve enabled the rest api in Gallery3
 5. Open `Settings` -> `G3Client`
 6. Set the Gallery3 api settings (api base url and api key)
 7. Save the settings. G3Client checks the connection to Gallery3, if you don’t see
    an error message, G3Client should work
 8. Add the shortcode to a post/page: `[g3client]`

You can easily modify the default style sheet, it is located in `/wp-content/plugins/
g3client/css/`.

There is also the possibility to load a user defined style sheet (see the option
page for details).

## 常见问题

  Can http basic authentication be used with G3Client?

Yes, just specify it in the Gallery3 api base url as follows:

http://username:password@example.com/gallery3/index.php/rest/

  How can I translate G3Client into my language?

The `.pot` file is supplied in the directory `g3client/languages`. Together with
Poedit, you can
 translate all messages of G3Client.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

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

[帮助将「G3Client」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/g3client)

### 对开发感兴趣吗?

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

## 更新日志

#### 0.2.0

 * added siderbar widget to display a random image from Gallery3
 * added custom album and photo listing titles
 * fixed url generation errors
 * fixed various small problems
 * admin interface improvements
 * refactorings and extensions to simplify the creation of new widgets and
    output
   modules

#### 0.1.5

 * added lightbox compatibility mode to prevent doubled lightboxes, especially when
   having
    jQuery Colorbox installed, thx to admaust
 * added the possibility to include a user defined css file (see `g3client/css/user.
   css` for
    a template), the user css file will disable the default css, thx to
   admaust
 * added some more shorttags and display customizations
 * internal optimizations

#### 0.1.4

 * fixed broken urls, thx to admaust

#### 0.1.3

 * fixed versioning

#### 0.1.2

 * removed HTTP_Request2 dependency, the more common php curl extension is now used
   by default
 * added missing shortcode documentation for items per row

#### 0.1.1

 * first public release

## 额外信息

 *  版本 **0.2.0**
 *  最后更新：**15 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.0.0 或更高版本 **
 *  已测试的最高版本为 **3.0.5**
 *  语言
 * [English (US)](https://wordpress.org/plugins/g3client/)
 * 标签
 * [gallery](https://cn.wordpress.org/plugins/tags/gallery/)[gallery3](https://cn.wordpress.org/plugins/tags/gallery3/)
   [image](https://cn.wordpress.org/plugins/tags/image/)
 *  [高级视图](https://cn.wordpress.org/plugins/g3client/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

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

## 支持

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

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