--
HenriAanstoot - 22 Mar 2007
This looks pretty cool. Thanks for pointing it out.
I think it could benefit from a new TWiki tag, to convert, say
%LIGHTBOX{image="img.jpg" thumb="img.thumb.jpg" caption="this is the caption"}%
to
<div class="thumbnail">
<a href="%ATTACHURL%/img.jpg" rel="lightbox"><img src="%ATTACHURL%/img.thumb.jpg" width="150" height="75" alt="this is the captioncaption" /></a>
<div class="caption">
<a href="%ATTACHURL%" rel="lightbox">this is the caption</a>
</div>
</div>
--
ScottHoge - 22 Mar 2007
Scott's idea is to convert this add-on into a LightboxPlugin.
Thanks Henri for sharing this add-on with the TWiki community!
--
PeterThoeny - 23 Mar 2007
Plugin version uploaded to SVN and twiki.org
Peter, would you be willing to rename the topics from AddOn to Plugin ?
Thanks.
--
ScottHoge - 23 Mar 2007
Done. Renaming is OK if the topic is only a few days old since it won't break many links from the outside.
I made a few changes to the plugin topic. Please feel free to take this into the next release.
--
PeterThoeny - 23 Mar 2007
My apache logfile shows a missing image "blank.gif".
XXX.XX.XX.XX - - [05/Apr/2007:15:48:02 +0200] "GET /twiki/pub/TWiki/LightboxPlugin/blank.gif HTTP/1.1" 404 .....)"
Does it need to be in the installation package?
--
JensHofmann - 05 Apr 2007
Thanks for the catch. I don't notice any difference between having the blank image or not, but I've updated the package nonetheless.
--
ScottHoge - 05 Apr 2007