Linux 软件免费装

Display CPG Thumbnails

开发者 macmiller
更新时间 2011年10月31日 17:39
捐献地址: 去捐款
PHP版本: 3.2.1 及以上
WordPress版本: 3.2.1

标签

Widget Gallery CPG Display Images Coppermine

下载

1.0 1.01 1.02 1.03 1.03a 1.04 1.047 1.048 1.0481

详情介绍:

The plugin is intended to create a number of links which you can display on your wordpress page. Each link is represented by a thumbnail image which exists within the associated CPG Gallery. Clicking on a link will take you to the associated picture within the CPG application. There are a number of parameters which indicate how many images to display per row and how many columns, along with size information and flexible caption (user defined information). As one of the parameter driven data points which can be used in the caption is user name. For this reason the plugin will work correctly if the CPG Gallery is 'bridged' to phpbb or not (in the case in which it is bridged, the user name is pulled from the phpbb database). One of the very nice features of the plug in is that you can specify the maximum number of images for one user (or the maximum number of images for one album). If you are displaying the latest uploaded images and one user has just uploaded a bunch of images, this helps keep the display 'balanced' and present a cross section of images on your page.

安装:

  1. Copy to your plugin folder.
  2. Activate the plugin.
  3. Go to Widgets.
  4. Drag the widget to the desired sidebar.
  5. Establish the required parameter values on the Widget Screen.
  6. Edit and set the DEFINE statemtents to correspond with your environment in the script 'DisplayCPGThumbnailsGuts.php'.
Widget Setup Defines in DisplayCPGTHumbnailsGuts.php You will need to set up these variables depending on your requirements and setup. The only item that is mandatory to set is the BRIDGEDtoPHPBB3. All of these items are defines in the script because once set up they will not normally ever need to be modified. CSS You will need to add some CSS to your wordpress theme. This normally goes into the style.css file in your theme folder. There may be some more CSS you need to integrate the widget into your theme. You can see the full scope of css at coolthaihouse by using firebug. `table.CPGImage{ border: none !important; margin: 0px 0px 0px 3px !important; width: auto !important;} .CPGImage tr td {border-width: 0px 1px 0px 1px !important; border-color: #E4E2DB !important; border-style: dotted !important; padding: 2px 2px 2px 2px !important;} table.CPGImage td:first-child {border-left: 0 !important;} table.CPGImage td:last-child {border-right: 0 !important;} .CPGImage tr td {margin-bottom: 3px !important;} .CPGImage p { width: 90px !important; margin-bottom: 0px !important; margin-right: 2px !important; padding-right: 2px !important; margin-left: 2px !important; margin-right: 2px !important; font-size: 9px !important; vertical-align: bottom !important; text-align: left !important; line-height: 1.1em !important; word-wrap: break-word !important; clear: both !important; }` Table If the NBR of TBL Cols is used (not -1) the output is tabelized. The resultant tabel looks something like this: <table class="CPGImage"> <tr> <td> <a href and img tags with text p> </td> <td> etc.

升级注意事项:

1.01 All of the updates from this version thru 1.0481 are optional, the only thing being changed is the readme.txt file.

常见问题:

= Screenshots =

Why are tables used? The formatting of the output is easier in table format. There is also a non-table output option available (set NBR of TBL Cols = -1). I never worked with CSS before. Can I make this plugin look nice on my blog? In all likelyhood, no. I don't know how to edit a php script. Should I attempt to use this plugin? Probably not. I don't know how to edit a php script. Should I attempt to use this plugin? In all likelyhood, no.

  1. The available widget with associated text as it appears under the Appearance -> Widgets page.
  2. This is how the screen widgets parameters setting page appears when you click on the widgets page.
  3. This is the generated output for a latest update display on the Wordpress page.
  4. This is the generated output for a random image display on the Wordpress page.

更新日志:

1.0 1.01 1.02 1.03 1.04 1.047 1.048 1.0481