[pmwiki-users] Thumblist, ?i param, regex

ABClf languefrancaise at gmail.com
Wed Jul 6 15:12:27 CDT 2011


Hello,

My question is surely for Petko :)

I'm trying to show, on some page, a gallery of pictures made with thumblist.
I need to link these pictures to some other page.

For a picture named 111.jpg I need a link to
http://www.languefrancaise.net/bob/detail.php?id=111

I didn't succeed with http://tl.5ko.fr/T/AlternativeLinks to get it to work
; I suspect I am expected to use a true PmWiki styled link ;
so i'm working with caption. It works mostly fine, excepted the fact the
regex is too hungry.
For generating my link, I use this :

captionfmt="[[http://www.languefrancaise.net/bob/detail.php?id=?i|?i]]"

and I get (for number : 63135)

http://www.languefrancaise.net/bob/detail.php63135d=63135

As you can see, ?id has been transformed as if it were ?i and d

Would it be possible to distinguish ?i from ?id in the regex  ?
or, if not possible, to map another letter to the picture's name variable
without modifying the code itself.

Thanks,
Gilles.

Problem can be seen there : http://www.languefrancaise.net/Bobex/Images




-- 

---------------------------------------
| A | de la langue française
| B | http://www.languefrancaise.net/
| C | languefrancaise at gmail.com
---------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20110706/a176cc11/attachment.html>


More information about the pmwiki-users mailing list