Skip to content

Commit

Permalink
Item8060: improved interface, creating more accurate thumbnails
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/ImageGalleryPlugin@2463 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
MichaelDaum authored and MichaelDaum committed Feb 12, 2009
1 parent 1fcbf0a commit 086e185
Show file tree
Hide file tree
Showing 18 changed files with 253 additions and 232 deletions.
13 changes: 9 additions & 4 deletions data/TWiki/ImageGalleryPlugin.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1167759528" format="1.1" reprev="1.2" version="$Rev$"}%
%META:TOPICINFO{author="ProjectContributor" date="1234443922" format="1.1" reprev="1.2" version="1.2"}%
---+!! <nop>ImageGalleryPlugin
<table style="float:right">
<tr>
Expand All @@ -22,8 +22,9 @@ The image gallery is highly customizable using cascading stylesheets and html fo
below).

---++ Example
%IMAGEGALLERY{"%SYSTEMWEB%.DocumentGraphics" columns="3" limit="12" exclude="arrow" sort="name"}%
There are %NRIMAGES{"%SYSTEMWEB%.DocumentGraphics"}% images at %SYSTEMWEB%.DocumentGraphics.
%IMAGEGALLERY{size="large" exclude="logo"}%
<span class="twikiAlert foswikiAlert">%NRIMAGES{exclude="logo"}%</span> images found.


---++ Syntax
---+++ Arguments
Expand Down Expand Up @@ -160,8 +161,9 @@ Note, that the $comment variable will only display =&lt;comment&gt;= , that is w
| Plugin Author: | Michael Daum, Will Norris |
| Copyright &copy;: | 2002-2009, Will Norris; 2005-2009, Michael Daum http://michaeldaumconsulting.com |
| License: | GPL ([[http://www.gnu.org/copyleft/gpl.html][GNU General Public License]]) |
| Plugin Version: | v4.00-pre3 |
| Plugin Version: | v4.00 |
| Change History: | <!-- versions below in reverse order -->&nbsp; |
| 12 Feb 2009 | interface improvements; creating more accurate thumbnails |
| 31 Jan 2009 | added VarIMAGEGALLERY and VarNRIMAGES documentation topics |
| 29 Dec 2008 | temporary fix to work under Foswiki |
| 14 Nov 2008 | made format string for galleries more flexible |
Expand Down Expand Up @@ -207,3 +209,6 @@ Note, that the $comment variable will only display =&lt;comment&gt;= , that is w


%META:FILEATTACHMENT{name="wikiringlogo40x40.png" attachment="wikiringlogo40x40.png" attr="h" comment="" date="1189787359" path="wikiringlogo40x40.png" size="2571" stream="wikiringlogo40x40.png" tmpFilename="" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="wintermountains.jpg" attachment="wintermountains.jpg" attr="" date="1234443485" size="33553" stream="IO::File=GLOB(0x9825730)" tmpFilename="/var/tmp/CGItemp48379" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="wave.jpg" attachment="wave.jpg" attr="" date="1234443495" size="17585" stream="IO::File=GLOB(0x981a770)" tmpFilename="/var/tmp/CGItemp54049" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="cascade.jpg" attachment="cascade.jpg" attr="" date="1234443503" size="31390" stream="IO::File=GLOB(0x9819a0c)" tmpFilename="/var/tmp/CGItemp56780" user="ProjectContributor" version="1"}%
5 changes: 1 addition & 4 deletions lib/TWiki/Plugins/ImageGalleryPlugin.pm
Expand Up @@ -66,10 +66,7 @@ sub doInit {
return if $isInitialized;
$isInitialized = 1;

eval 'use TWiki::Plugins::ImageGalleryPlugin::Core();';
die $@ if $@;

return undef;
require TWiki::Plugins::ImageGalleryPlugin::Core;
}

# =========================
Expand Down

0 comments on commit 086e185

Please sign in to comment.