|
Cookbook /
ThumbList-TalkBack to Cookbook.Thumb list
Latest versions
Tips
PHP is not meant to do heavy image processing, so the thumbnails may not work with very big images. Most default PHP installations (usually 8M memory) can handle maximum a 2 megapixel image (about 1600*1200 pixels, colored at 4 bytes/px). If you have problems with some pictures, try to resize them down a little: a picture of 1024*768 pixels is more than enough for most visitors' screens. These image conversions also take a considerable time (several seconds, and this may go over the max_execution_time limits) and ThumbList "threaded" versions from 2006-12-31 on, seemingly work much better in such cases, see ThumbList#relnotes. Your files must be visible to PmWiki, so be sure to have (1) a PmWiki uploads directory structure and (2) a file name allowed by PmWiki. The easiest way to do it is by uploading a file through the "Attach:" link on the wiki page and see if it was renamed (i.e. lowercase extension). This way PmWiki will also create the uploads directory, so you can browse there by FTP and copy your pictures more easily. Archive
Recent discussionsAdd a new section and a brief description at the bottom of the page. Please mention if you are using the latest version, and if possible, link any webpages if needed. --Petko You can sign by adding Wiki markup in captionsOn allowing formatting in captions, I note that images support basic formatting in captions From version 2008-01-18 it is possible to have inline formatting (links, bold, colors...) in thumbgallery captions. --Petko February 03, 2008, at 07:26 AM
Access control for the picturesThis might be a stupid question but is there any kind of access control for the pictures? I understand that I can protect a wiki page but is there some way of preventing unauthorized access to a picture (I mean directly through the image URL)? Yes, set in config.php Single random thumbAny reason why we can't have a randon single thumb, viz (:thumb TTC/WellingtonsRuggedSouthwest-Gallery order=random titlefmt="Wellington's rugged southwest coast" link=TTC/WellingtonsRuggedSouthwest :) ?
Please use OK[2], makes sense, thanks, you are so fast ! Simon
Force thumbnail heightsPS How about a height= to go with the width=. The px= seems to set either height or width depending on context (in table[3], out of table[4]) and I don't seem to get the results I expect. Looking at your page I feel that you would like to achieve (again) something like [5] (check the divs and the css). In a non-tabled thumblist, the When I change height= to px= in the above page the photos go to 350 wide, not 350 high? There is no height= parameter. When you use Petko, sorry to confuse things. I have set up a test page[6] that illustrates my lack of understanding, it does not use tables. SImon The confusion comes from the "captionfmt" parameter which, as documented in the manual, transforms the single thumbnail in a one-cell table. I'll try to implement a new Done in a development version. Please get it and test it. --Petko July 03, 2008, at 07:18 PM
|