Recent Changes - Search:

Cookbook

PmWiki

pmwiki.org

Mini-Talk

Summary: Talk Page for Mini recipe
Maintainer: Petko
Categories: Images, Uploads

Return to the gallery

When you click on a thumbnail, it opens the original image. Is there a function for clicking on the larger image to return to the gallery? - Ian MacGregor

No, the readers have to use their browsers' Back button. However, the recipe can be used with Lightbox JavaScript, and it offers better usability. Try it with $Mini['EnableLightbox']=1; [1] --Petko July 13, 2008, at 12:24 AM
Lightbox sounds interesting and may be worth allowing javascript. I'll give Mini+Lightbox a try. - Ian MacGregor

Links to galleries

IPTC captions

It is an exelent application, but it would be even better for me if the iptc caption field could be used. With this I could easily comment my pictures in Picassa, IrfanView; upload them as a batch and find those comments displayed when looking at the pictures online. Damien September 27, 2008, at 04:18 PM

Done, it seems. You can get and test the latest code. To enable it, set in config.php $Mini['GetIPTC'] = 1; --Petko September 27, 2008, at 05:33 PM
A problem appeared. The IPTC data is in Latin-1, the site in UTF-8, and international characters ("ë") are broken. If you use the default Latin-1 encoding (iso8859-1) in your PmWiki, and your IPTC comments are in the same charset, it should be fine. I will need some time to figure out how to detect and fix charset conversions for different wikis. --Petko September 28, 2008, at 07:14 AM

Random Thanks and Stuff

I have been looking for a solution like this for such a long time. Thank you for such a wonderful work! -- JLuk, October 27, 2008

Thanks for your kind words! --Petko November 23, 2008, at 07:35 PM

Lightbox is not working for me.

I have tried everything but Lightbox seems not to work with my pmwiki (i have the latest version). Maybe there are some bugs in the latest version of 2 december? I spent 2 hours trying to figure out whats wrong but i can't find anything. Maybe there is something wrong with the javascript because i can't see it in the page source code of my website.

Here is part of my configuration file:

$Mini['EnableLightbox'] = 1; $Mini['LbUrl'] = "$FarmPubDirUrl/lb" ; $Mini['LbMaxH'] = 800; $Mini['LbMaxW'] = 800; include_once("$FarmD/cookbook/mini.php");

Here is the part from mini.php: 'EnableLightbox' => 1, 'Px' => 150,'Quality' => 90, 'CropXPos' => 0.5, 'CropYPos' => 0.5, 'LbMaxH'=> 800,'LbMaxW'=> 800,

I followed the documentation and placed mini.php in the cookbook directory and the lb directory in my /pub directory. But Lightbox just doesn't work.

 -- miranon, 3 december 2008
Edit - History - Print - Recent Changes - Search
Page last modified on December 02, 2008, at 04:53 PM