Ignore:
Timestamp:
02/12/10 17:28:21 (2 years ago)
Author:
MichaelDaum
Message:

Item176: optionally render galleries using a jQuery slimbox fronted

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ImageGalleryPlugin/data/System/ImageGalleryPlugin.txt

    r4425 r6295  
    1 %META:TOPICINFO{author="ProjectContributor" date="1234443922" format="1.1"  version="1.2"}% 
     1%META:TOPICINFO{author="ProjectContributor" date="1252914561" format="1.1" version="1.3"}% 
    22---+!! <nop>ImageGalleryPlugin 
    33<table style="float:right"> 
     
    4040| include | regular expression an image must match to be part of the gallery | 
    4141| exclude | regular expression an image must _not_ match to be part of the gallery | 
     42| frontend | select gallery interface, possible values are =lightbox= and =default=; \ 
     43             (defaults to =lightbox= if Foswiki:Extensions/JQueryPlugin is installed and =default= otherwise) | 
    4244| field | specify which property of the image has to match using =include= or =exclude=; \ 
    4345          possible values: name, comment (default: name) | 
     
    5658            limit while preserving aspect ratio %BR% (default: 0) | 
    5759| minheight | minimal display height of an image %BR% (default: 0) | 
     60| header | header part of the gallery; only used if there is a =format= | 
    5861| format | html format of an image %BR% \ 
    5962          (default: &lt;a href="$origurl"&gt;&lt;img src="$imageurl" title="$comment" width="$width" height="$height"/&gt;&lt;/a&gt;) | 
     63| footer | footer part of the gallery; only used if there is a =format= | 
    6064| titles | toggles image and thumnail titles on and off %BR% \ 
    61           (default: on) | 
     65          (default: off) | 
    6266| title | html format of an image title; "off" will hide the image's title %BR% \ 
    63           (default: $comment ($imgnr/$nrimgs)&nbsp;$reddot) | 
     67          (default: $comment ($imgnr/$nrimgs)) | 
    6468| thumbtitle  | html format of a thumbnail title; "off" will hide the thumbnail's title %BR% \ 
    65           (default: $comment&nbsp;$reddot) | 
     69          (default: $comment) | 
    6670| sort | set the initial order of the images, can be name, date, size or comment (default:date) | 
    6771| reverse | invert the initial order of the images, can be on or off (default:off) | 
     
    7882| $nrimages | the total number of images in the gallery | 
    7983| $n | a linefeed | 
    80 | $reddot | render a red-dot anchor to access the attachment | 
    8184| $width | the display width of the image | 
    8285| $height | the display height of the image | 
     
    139142prefix the comment of the attachment with a sequence number. For example: given a 
    140143picture whose comment is "My old bike" that should be put at position 12 
    141 in your image gallery then change the comment to "12 - My old bike". This 
     144in your image gallery then change the comment to "12 <nop>- My old bike". This 
    142145will put the image at the desired position. Sequence numbers don't necessarily need 
    143146to be unique, that is if there's another picture with a comment like  
    144 "12 - My new bike" then the natural order of the both is relevant. In general, 
     147"12 <nop>- My new bike" then the natural order of the both is relevant. In general, 
    145148a picture will be put at position =&lt;nr&gt;= if its attachment comment has the format 
    146149<verbatim> 
     
    158161--> 
    159162|  Plugin Author: | Michael Daum, Will Norris | 
    160 |  Copyright &copy;: | 2002-2009, Will Norris; 2005-2009, Michael Daum http://michaeldaumconsulting.com | 
     163|  Copyright &copy;: | 2002-2009, Will Norris; 2005-2010, Michael Daum http://michaeldaumconsulting.com | 
    161164|  License: | GPL ([[http://www.gnu.org/copyleft/gpl.html][GNU General Public License]]) | 
    162165|  Release: | %$RELEASE% | 
    163166|  Version: | %$VERSION% | 
    164167|  Change History: | <!-- versions below in reverse order -->&nbsp; | 
     168|  12 Feb 2010 | new =frontend= parameter defaulting to "lightbox" when Foswiki:Extensions/JQueryPlugin is installed |  
    165169|  03 Jul 2009 | shipping minified and compressed css files now | 
    166170|  24 Apr 2009 | converted to foswiki plugin | 
     
    191195|  10 May 2005 | fixed igp id clash error found by Martin Cleaver; \ 
    192196                 capture <nop>ImageMagick error messages; \ 
    193                  don't trust attachment info - check for attachment existence as well;\ 
     197                 don't trust attachment info, check for attachment existence as well;\ 
    194198                 added refresh query parameter to recompute images | 
    195199|  09 May 2005 | fixed errors reported by Marcel Trap; \ 
Note: See TracChangeset for help on using the changeset viewer.