From: <var...@us...> - 2012-12-03 17:42:54
|
Revision: 8594 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8594&view=rev Author: vargenau Date: 2012-12-03 17:42:48 +0000 (Mon, 03 Dec 2012) Log Message: ----------- Wikicreole syntax Modified Paths: -------------- trunk/pgsrc/Help%2FPhotoAlbumPlugin Modified: trunk/pgsrc/Help%2FPhotoAlbumPlugin =================================================================== --- trunk/pgsrc/Help%2FPhotoAlbumPlugin 2012-12-03 17:32:29 UTC (rev 8593) +++ trunk/pgsrc/Help%2FPhotoAlbumPlugin 2012-12-03 17:42:48 UTC (rev 8594) @@ -1,4 +1,4 @@ -Date: Fri, 16 Dec 2011 12:42:36 +0000 +Date: Mon, 3 Dec 2012 18:41:07 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0) Content-Type: application/x-phpwiki; pagename=Help%2FPhotoAlbumPlugin; @@ -27,7 +27,7 @@ == Arguments == -_Only the ='src'= parameter is required._ +//Only the ='src'= parameter is required.// *src*: Url or local path to a CSV textfile which separates filename and @@ -116,24 +116,23 @@ }}} === Sample Albums === + local dir: -<<PhotoAlbum - src="themes/Hawaiian/images/pictures/" ->> -or via external url: {{{ -<<PhotoAlbum - src="http://phpwiki.sourceforge.net/demo/themes/Hawaiian/images/pictures/PhotoAlbum.csv" ->> +<<PhotoAlbum src="themes/Hawaiian/images/pictures/" >> }}} +or via external URL: +{{{ +<<PhotoAlbum src="http://phpwiki.sourceforge.net/demo/themes/Hawaiian/images/pictures/PhotoAlbum.csv" >> +}}} -[ /Slides ] +[[/Slides]] == Authors == -* [Ted Vinke|mailto:te...@jo...] Original author -* [Reini Urban|PhpWiki:ReiniUrban] local fs -* [Thomas Harding|PhpWiki:ThomasHarding] slides and thumbs +* [[mailto:te...@jo...|Ted Vinke]]: original author +* [[PhpWiki:ReiniUrban|Reini Urban]]: local fs +* [[PhpWiki:ThomasHarding|Thomas Harding]]: slides and thumbs <noinclude> ---- This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2012-12-04 18:15:45
|
Revision: 8602 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8602&view=rev Author: vargenau Date: 2012-12-04 18:15:38 +0000 (Tue, 04 Dec 2012) Log Message: ----------- Use Mediawiki table for arguments Modified Paths: -------------- trunk/pgsrc/Help%2FPhotoAlbumPlugin Modified: trunk/pgsrc/Help%2FPhotoAlbumPlugin =================================================================== --- trunk/pgsrc/Help%2FPhotoAlbumPlugin 2012-12-04 17:20:40 UTC (rev 8601) +++ trunk/pgsrc/Help%2FPhotoAlbumPlugin 2012-12-04 18:15:38 UTC (rev 8602) @@ -1,4 +1,4 @@ -Date: Mon, 3 Dec 2012 18:41:07 +0000 +Date: Tue, 4 Dec 2012 19:11:39 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0) Content-Type: application/x-phpwiki; pagename=Help%2FPhotoAlbumPlugin; @@ -29,80 +29,111 @@ //Only the ='src'= parameter is required.// -*src*: - Url or local path to a CSV textfile which separates filename and - description of each photo. Photos listed in the text file have to be in same - directory as the file. Descriptions are optional. - If the the local path points to a directory, is relative from PHPWIKI_DIR, - and the main script is in PHPWIKI_DIR, weblocation must not be given, and - all pictures from this directory are displayed. +{| class="bordered" +|- +! Argument +! Description +! Default value +|- +| **src** +| +Url or local path to a CSV textfile which separates filename and +description of each photo. Photos listed in the text file have to be in same +directory as the file. Descriptions are optional. -*url*: - defines the the webpath to the srcdir directory (formerly called weblocation) +If the the local path points to a directory, is relative from PHPWIKI_DIR, +and the main script is in PHPWIKI_DIR, weblocation must not be given, and +all pictures from this directory are displayed. +| +|- +| **url** +| Defines the the webpath to the srcdir directory (formerly called weblocation) +| +|- +| **mode** +| +Specifies how the images are arranged. +* "normal" - Normal table which shows photos full-size +* "thumbs" - WinXP thumbnail style +* "tiles" - WinXP tiles style +* "list" - WinXP list style +* "slide" - slideshow mode, needs Javascript on client +| +|- +| **showdesc** +| +* "none" - No descriptions next to photos +* "name" - Only filename shown +* "desc" - Only description (from textfile) shown +* "both" - If no description found, then filename will be used +| +|- +| **link** +| +true or false -*mode*: - Specifies how the images are arranged. +If true, each image will be hyperlinked to a page where the single +photo will be shown full-size. Only works when mode != 'normal' +| +|- +| **align** +| center, right or left +| center +|- +| **desc** +| Display any descriptions given in the text file +| true +|- +| **sort** +| Sort images by file name +| By default the order in the text file is followed +|- +| **bgcolor** +| cell bgcolor +| #eae8e8 (lightgrey) +|- +| **hlcolor** +| highlight color +| #c0c0ff (lightblue) +|- +| **height**, **width** +| +Height and width are calculated compared to original metrics +retrieved by [php-function:getimagesize] and can be absolute (50px) +or a percentage (e.g. "50%"). +| +|- +| **attrib** +| +attrib arg allows multiple attributes: attrib=sort,nowrap,alt +'sort' sorts alphabetically, 'nowrap' for cells, 'alt' to use +descs instead of filenames in image ALT-tags +| +|- +| **cellwidth** +| +cell (auto|equal|image|75|100%) - * "normal" - Normal table which shows photos full-size - * "thumbs" - WinXP thumbnail style - * "tiles" - WinXP tiles style - * "list" - WinXP list style - * "slide" - slideshow mode, needs javascript on client +Width of cells in table. Either absolute value in pixels, HTML +style percentage, "auto" (no special action), "equal" (where +all columns are equally sized) or "image" (take height and +width of the photo in that cell). +| +|- +| **tablewidth** +| +table (75|100%) +| +|- +| **p** +| "displaythissinglephoto.jpg" only +| +|- +| **h** +| "highlightcolorofthisphoto.jpg" only +| +|} -*showdesc*: - "none" - No descriptions next to photos %%% - "name" - Only filename shown %%% - "desc" - Only description (from textfile) shown %%% - "both" - If no description found, then filename will be used %%% - -*link*: - true or false - If true, each image will be hyperlinked to a page where the single - photo will be shown full-size. Only works when mode != 'normal' - -*align*: - center|right|left. Default is ='center'=. - -*desc*: - Display any descriptions given in the text file. Default is true. - -*sort*: - Sort images by file name. By default the order in the text file is - followed. - -*bgcolor*: - Default: #eae8e8 cell bgcolor (lightgrey) - -*hlcolor*: - Default: #c0c0ff highlight color (lightblue) - -*height*, *width*: - Height and width are calculated compared to original metrics - retrieved by [php-function:getimagesize] and can be absolute (50px) - or a percentage (e.g. "50%"). - -*attrib*: - attrib arg allows multiple attributes: attrib=sort,nowrap,alt - 'sort' sorts alphabetically, 'nowrap' for cells, 'alt' to use - descs instead of filenames in image ALT-tags - -*cellwidth*: - cell (auto|equal|image|75|100%) - - Width of cells in table. Either absolute value in pixels, HTML - style percentage, "auto" (no special action), "equal" (where - all columns are equally sized) or "image" (take height and - width of the photo in that cell). - -*tablewidth*: (Optional) - table (75|100%) - -*p*: (Optional) - "displaythissinglephoto.jpg" only - -*h*: (Optional) - "highlightcolorofthisphoto.jpg" only - == Examples == === Text file === This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2016-07-07 16:05:30
|
Revision: 9862 http://sourceforge.net/p/phpwiki/code/9862 Author: vargenau Date: 2016-07-07 16:05:27 +0000 (Thu, 07 Jul 2016) Log Message: ----------- Wikicreole syntax Modified Paths: -------------- trunk/pgsrc/Help%2FPhotoAlbumPlugin Modified: trunk/pgsrc/Help%2FPhotoAlbumPlugin =================================================================== --- trunk/pgsrc/Help%2FPhotoAlbumPlugin 2016-07-07 15:04:23 UTC (rev 9861) +++ trunk/pgsrc/Help%2FPhotoAlbumPlugin 2016-07-07 16:05:27 UTC (rev 9862) @@ -1,4 +1,4 @@ -Date: Thu, 10 Dec 2015 18:48:03 +0000 +Date: Thu, 7 Jul 2016 18:02:20 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.5) Content-Type: application/x-phpwiki; pagename=Help%2FPhotoAlbumPlugin; @@ -26,7 +26,7 @@ == Arguments == -//Only the ='src'= parameter is required.// +Only the ##src## parameter is required. {| class="bordered" |- This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2016-07-07 20:50:44
|
Revision: 9863 http://sourceforge.net/p/phpwiki/code/9863 Author: vargenau Date: 2016-07-07 20:50:41 +0000 (Thu, 07 Jul 2016) Log Message: ----------- Add default values Modified Paths: -------------- trunk/pgsrc/Help%2FPhotoAlbumPlugin Modified: trunk/pgsrc/Help%2FPhotoAlbumPlugin =================================================================== --- trunk/pgsrc/Help%2FPhotoAlbumPlugin 2016-07-07 16:05:27 UTC (rev 9862) +++ trunk/pgsrc/Help%2FPhotoAlbumPlugin 2016-07-07 20:50:41 UTC (rev 9863) @@ -1,4 +1,4 @@ -Date: Thu, 7 Jul 2016 18:02:20 +0000 +Date: Thu, 7 Jul 2016 22:43:03 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.5) Content-Type: application/x-phpwiki; pagename=Help%2FPhotoAlbumPlugin; @@ -57,7 +57,7 @@ * "tiles" - WinXP tiles style * "list" - WinXP list style * "slide" - slideshow mode, needs Javascript on client -| +| normal |- | **showdesc** | @@ -65,7 +65,7 @@ * "name" - Only filename shown * "desc" - Only description (from textfile) shown * "both" - If no description found, then filename will be used -| +| both |- | **link** | @@ -73,7 +73,7 @@ If true, each image will be hyperlinked to a page where the single photo will be shown full-size. Only works when mode != 'normal' -| +| true |- | **align** | center, right or left @@ -98,7 +98,7 @@ | **height**, **width** | Height and width are calculated compared to original metrics -retrieved by [php-function:getimagesize] and can be absolute (50px) +retrieved by [[php-function:getimagesize]] and can be absolute (50px) or a percentage (e.g. "50%"). | |- This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2021-12-10 09:59:40
|
Revision: 10770 http://sourceforge.net/p/phpwiki/code/10770 Author: vargenau Date: 2021-12-10 09:59:39 +0000 (Fri, 10 Dec 2021) Log Message: ----------- pgsrc/Help%2FPhotoAlbumPlugin: there are no arguments desc and sort Modified Paths: -------------- trunk/pgsrc/Help%2FPhotoAlbumPlugin Modified: trunk/pgsrc/Help%2FPhotoAlbumPlugin =================================================================== --- trunk/pgsrc/Help%2FPhotoAlbumPlugin 2021-12-09 18:28:38 UTC (rev 10769) +++ trunk/pgsrc/Help%2FPhotoAlbumPlugin 2021-12-10 09:59:39 UTC (rev 10770) @@ -1,4 +1,4 @@ -Date: Wed, 8 Dec 2021 10:26:58 +0000 +Date: Fri, 10 Dec 2021 10:54:25 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=Help%2FPhotoAlbumPlugin; @@ -11,15 +11,7 @@ == Usage == {{{ -<<PhotoAlbum - src=http://server/textfile - mode=[column|row] - align=[center|left|right] - desc=true - sort=false - height=100% - width=100% ->> +<<PhotoAlbum arguments>> }}} == Arguments == @@ -34,7 +26,7 @@ |- | **src** | -Url or local path to a CSV textfile which separates filename and +URL or local path to a CSV textfile which separates filename and description of each photo. Photos listed in the text file have to be in same directory as the file. Descriptions are optional. @@ -44,8 +36,8 @@ | |- | **url** -| Defines the webpath to the srcdir directory -| +| Defines the webpath to the srcdir directory. +| //empty// |- | **mode** | @@ -88,20 +80,12 @@ | center, right or left | center |- -| **desc** -| Boolean. If true, display any descriptions given in the text file -| true -|- -| **sort** -| Sort images by file name -| By default the order in the text file is followed -|- | **bgcolor** -| cell bgcolor +| Cell background color | #eae8e8 (lightgrey) |- | **hlcolor** -| highlight color +| Highlight color | #c0c0ff (lightblue) |- | **height**, **width** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |