[pmwiki-users] ThumbList question +RFC

Petko Yotov 5ko at 5ko.fr
Thu Nov 22 14:04:39 CST 2007


On Thursday 22 November 2007 13:22:09 Hans wrote:
> Can I integrate IPTC image data?

Not currently. It can only extract a dozen basic EXIF variables.


> Any hints how to get IPTC data from images into some sort of wiki page
> data format, which will be searchable, and have the image linked with
> it? So IPTC data is not only shown dynamically with an image (by
> inclusion on a template) but has a static representation somewhere?

Not with Thumblist.

You may look at the the scripts/upload.php file. There is a way of 
intercepting an uploaded picture, getting some information and store it 
elsewhere. See for an example the recipe RecentUploadsLog :
 
   http://www.pmwiki.org/wiki/Cookbook/RecentUploadsLog

> Can I  write something which integrates this with ThumbList?
>
> ThumbList is appealing as it uses templates, so maybe..... ?

Yes you can. Look at the section "Percent variables" in the doc, and at the 
function "ThumbExif()" in the script. If you write a function similar to 
ThumbExif (accepts a file path, returns an array of percent-variables and 
values), it will be possible to plug it and use it in a gallery or in a 
trail.

I am preparing a new, more modular version of ThumbList, which will allow most 
users to run a smaller and faster "Light" version with the basic 
functionality, while advanced users will be able to write their own plugins 
and functions, as discussed in the talk page.


This is a good moment to ask everyone in the list what features do you think 
ThumbList needs, and which ones of the existant and non-exitsant, are the 
most basic for the Light version? I am thinking about removing the Template 
trails from the light version, as it almost doubles the code and quadruples 
the complexity.

Thanks,
Petko



More information about the pmwiki-users mailing list