From cb19accc08059b399ea2358309d0961735893162 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 24 Oct 2007 22:47:55 -0400 Subject: [PATCH] clean up fix perms, rename files to avoid overwriting ikiwiki files, etc merged page.tmpl changes into the current version --- CHANGELOG.gallery | 39 +++++++++++++++++++++++++++++++++++++++ IkiWiki/Plugin/gallery.pm | 0 README | 10 ---------- README.gallery | 30 ++++++++++++++++++++++++++++++ templates/page.tmpl | 17 +++-------------- 5 files changed, 72 insertions(+), 24 deletions(-) create mode 100644 CHANGELOG.gallery mode change 100755 => 100644 IkiWiki/Plugin/gallery.pm delete mode 100644 README create mode 100644 README.gallery diff --git a/CHANGELOG.gallery b/CHANGELOG.gallery new file mode 100644 index 000000000..8fce836b6 --- /dev/null +++ b/CHANGELOG.gallery @@ -0,0 +1,39 @@ +Project IkiWiki::gallery.pm +=========================== +Version 0.9 +Support for resizing of images also included. +Additional options : +- resize(optional, Default=>800x600) => Width and Height to resize image to. + +---- + +Version 0.8 +Support for Multiple Pages also included. +Additional options : +- rows(optional, Default=>3) => Number of Rows on a gallery page. +- exif(optional, Default=>0) => Specify whether to Display exif information or not. + +---- + +Version 0.6 +This plugin creates a nice looking gallery of the images. + +SVN Repository of plugin is at http://ned.snow-crash.org:8080/svn/ikiwiki-gallery + +USAGE: +====== + +Plugin can be used as +[[gallery imagedir="images" option="value"]] + +Available options : +- imagedir(required) => Directory containing images. It will scan all the files with jpg|png|gif extension from the directory and will put it in the gallery. +- thumbnailsize(optional,Default=200x200) => Size of the thumbnail that you want to generate for the gallery. +- alt(optional) => If image can not be displayed, it will display the text contained in alt argument. +- cols(optional,Default=3) => Number of columns of thumbnails that you want to generate. +- title(optional) => Title of the gallery. +- sort(optional) => "asc" or "desc" . You can sort in ascending or descending order of names of images. +- vcs(optional,Default=1) => This value decides whether to put the images out of IkiWiki's tree. If you set vcs=0, then you can specify a directory outside IkiWiki tree also to lookup. In that case you can also give absolute link of the image directory. + +Additionaly, you can put Comment file filename.comm in image directory where filename is name of the image. Comments would then be displayed in the gallery. + diff --git a/IkiWiki/Plugin/gallery.pm b/IkiWiki/Plugin/gallery.pm old mode 100755 new mode 100644 diff --git a/README b/README deleted file mode 100644 index b7b99c0c0..000000000 --- a/README +++ /dev/null @@ -1,10 +0,0 @@ -Use ./Makefile.PL to generate a Makefile, "make" will build the -documentation wiki and a man page, and "make install" will install ikiwiki. - -A few special variables you can set while using the Makefile: - -PROFILE=1 turns on profiling for the build of the doc wiki. Uses Devel::Profile -NOTAINT=1 turns off the taint flag in the ikiwiki program - -All other documentation is in the ikiwiki documentation wiki, which is also -available online at diff --git a/README.gallery b/README.gallery new file mode 100644 index 000000000..f8cb8857b --- /dev/null +++ b/README.gallery @@ -0,0 +1,30 @@ +Project IkiWiki::gallery.pm +=========================== +Version 0.9 + +This plugin creates a nice looking gallery of the images. + +SVN Repository of plugin is at http://ned.snow-crash.org:8080/svn/ikiwiki-gallery + +USAGE: +====== + +Plugin can be used as +[[gallery imagedir="images" option="value"]] + +Available options : +- imagedir(required) => Directory containing images. It will scan all the files with jpg|png|gif extension from the directory and will put it in the gallery. +- thumbnailsize(optional,Default=200x200) => Size of the thumbnail that you want to generate for the gallery. +- resize(optional, Default=>800x600) => Width and Height to resize image to. +- alt(optional) => If image can not be displayed, it will display the text contained in alt argument. +- cols(optional,Default=3) => Number of columns of thumbnails that you want to generate. +- rows(optional, Default=>3) => Number of Rows on a gallery page. +- title(optional) => Title of the gallery. +- sort(optional) => "asc" or "desc" . You can sort in ascending or descending order of names of images. +- vcs(optional,Default=1) => This value decides whether to put the images out of IkiWiki's tree. If you set vcs=0, then you can specify a directory outside IkiWiki tree also to lookup. In that case you can also give absolute link of the image directory. +- exif(optional, Default=>0) => Specify whether to Display exif information or not. + +Additionaly, you can put Comment file filename.comm in image directory where filename is name of the image. Comments would then be displayed in the gallery. + +--Arpit Jain (arpitjain11 AT gmail.com) + diff --git a/templates/page.tmpl b/templates/page.tmpl index a02345f89..c3db70688 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -7,6 +7,9 @@ + + + @@ -88,20 +91,6 @@ Links: - - - - - -
- -License: -
-
-
Last edited
-- 2.39.5