]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
clean up
authorJoey Hess <joey@kodama.kitenet.net>
Thu, 25 Oct 2007 02:47:55 +0000 (22:47 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Thu, 25 Oct 2007 02:47:55 +0000 (22:47 -0400)
fix perms, rename files to avoid overwriting ikiwiki files, etc

merged page.tmpl changes into the current version

CHANGELOG.gallery [new file with mode: 0644]
IkiWiki/Plugin/gallery.pm [changed mode: 0755->0644]
README [deleted file]
README.gallery [new file with mode: 0644]
templates/page.tmpl

diff --git a/CHANGELOG.gallery b/CHANGELOG.gallery
new file mode 100644 (file)
index 0000000..8fce836
--- /dev/null
@@ -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.
+
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/README b/README
deleted file mode 100644 (file)
index b7b99c0..0000000
--- 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 <http://ikiwiki.info/>
diff --git a/README.gallery b/README.gallery
new file mode 100644 (file)
index 0000000..f8cb885
--- /dev/null
@@ -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)
+
index a02345f89773019c796dccc65da7623643be3544..c3db70688df849d812e934fc65167cf81ec65862 100644 (file)
@@ -7,6 +7,9 @@
 <TMPL_IF NAME="FAVICON">
 <link rel="icon" href="<TMPL_VAR BASEURL><TMPL_VAR FAVICON>" type="image/x-icon" />
 </TMPL_IF>
+<TMPL_IF NAME="GALLERY">
+<TMPL_VAR GALLERY>
+</TMPL_IF>
 <link rel="stylesheet" href="<TMPL_VAR BASEURL>style.css" type="text/css" />
 <link rel="stylesheet" href="<TMPL_VAR BASEURL>local.css" type="text/css" />
 <TMPL_IF NAME="FEEDLINKS"><TMPL_VAR FEEDLINKS></TMPL_IF>
@@ -88,20 +91,6 @@ Links:
 </div>
 </TMPL_IF>
 
-<TMPL_IF COPYRIGHT>
-<div class="pagecopyright">
-<a name="pagecopyright"></a>
-<TMPL_VAR COPYRIGHT>
-</div>
-</TMPL_IF>
-
-<TMPL_IF LICENSE>
-<div class="pagelicense">
-<a name="pagelicense"></a>
-License: <TMPL_VAR LICENSE>
-</div>
-</TMPL_IF>
-
 <div class="pagedate">
 Last edited <TMPL_VAR NAME=MTIME>
 </div>