[pmwiki-users] mini with either ultralightbox or galleria
Peter Bowers
pbowers at pobox.com
Thu Dec 6 02:22:55 CST 2012
On Wed, Dec 5, 2012 at 11:02 PM, Petko Yotov <5ko at 5ko.fr> wrote:
> Peter Bowers writes:
>>
>> I just installed mini and originally tried it with the default
ultralightbox and then tried installing the galleria plugin. What I'm
seeing is a simple list of thumbnails. What I want to see is some kind of
interactive slideshow where the user can scroll through the pictures in a
larger size as compared to the thumbnails.
>
>
> If you cannot see the slideshows on the demo pages, see if you have
JavaScript enabled:
>
> http://tl.5ko.fr/M/Ultralightbox
> http://tl.5ko.fr/M/Galleria
I confirm I am able to view the demo - just what I'm looking for. And I'm
testing on the same browser/computer. So I think that confirms pretty
definitely that JS is enabled.
> If you can see the demo pages, then something is wrong with your
installation. Check if your skin has the markers <!--HTMLHeader--> and
> <!--HTMLFooter-->.
Yes, both of those markers are present. Although there is nothing within
the HTMLFooter marker -- it just proceeds immediately to </body>.
> Can we have a look at the wiki page?
Sure:
http://www.qdk.org/pmwiki/index.php?n=Inovat.FirepitTest
The edit password is temporarily set to the pmwiki.org password.
Feel free to make changes - this is just a test page for now...
Here's a copy of the relevant lines in my config.php (at the very end):
===(snip end of config.php)===
include_once("$FarmD/cookbook/mini.php");
$Mini['EnableLightbox'] = 2;
$Mini['EnableCache'] = 1;
$Mini['LbUrl'] = '$FarmPubDirUrl/galleria';
$Mini['LbFiles'] = array('jquery-1.7.min.js', 'galleria-1.2.5.min.js',
'themes/classic/galleria.classic.min.js', 'mini-galleria.js');
===(snip)===
The galleria/ and ultralightbox/ directories are both in what I believe to
be my $FarmPubDirUrl. I say "I believe" because I've only verified this
via FTP -- not sure how to verify it via the URL itself. ($FPDU is
http://pmwiki.qdk.org/pub as confirmed by an echo in config.php)
This particular site (www.qdk.org) is a farm with the "root farm" located
at pmwiki.qdk.org. I have a pub directory under the qdk.org as well - I
think it was because it didn't used to be a farm and I converted it to a
farm but never deleted the extraneous files... Would a tree listing of the
directories on the server under each of these pub directories be helpful?
I'm pretty sure I put all the necessary lines (as per installation
instructions) in the pub/local.css file. I don't play much with css, so I
could have very easily made a mistake here... Below is the entire contents
of my $FarmPubDirUrl/local.css file (relevant lines at the end):
===(snip local.css)===
img.thumbs {
border:1px solid #dddddd; margin:2px; padding:4px; vertical-align: middle;
}
img.thumbs:hover, table.thumbtable td.thumbtd div.img:hover {
border:1px solid red; }
table.thumbtable img.thumbs { border: 0; padding:0; }
table.thumbtable td.thumbtd { margin:4px; padding:2px;}
table.thumbtable td.thumbtd:hover { border-color:red; }
table.thumbtable { border:1px solid #cccccc; }
table.thumbtable td.thumbtd div.img {
border: 1px solid #dddddd; text-align: center;}
.caption {
font-size:.8em; overflow:hidden; padding:0px; line-height:1.1em;}
img.current, table.thumbtable td.thumbtd div.current {
border-color: #ff0000;}
table.firstrow th { background-color:#FFF68F }
.mini { padding:2px; border:1px solid #dddddd; background-color:#ffffff; }
.miniH, .miniF {display:block;}
===(snip)===
-Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20121206/2a874e71/attachment-0001.html>
More information about the pmwiki-users
mailing list