[pmwiki-users] caption in thumb with flow on resize
John W Morris
johnwmorris at peak.org
Fri Jun 16 11:58:19 CDT 2006
Henrik,
Thanks for the solution! It does work! The captioned thumnails flow very well as page is resized. Granted this is not a good solution if you have a large page of thumbnails due to image resize times but for me and a simple use it is a handy markup.
%block lframe%%thumb newwin%[[SGGallery/001|Attach:BigTree.jpg]]\\
[-%center%caption-]
%block lframe%%thumb newwin%[[SGGallery/001|Attach:BigTree.jpg]]\\
[-%center%caption-]
%block lframe%%thumb newwin%[[SGGallery/001|Attach:BigTree.jpg]]\\
[-%center%caption-]
Please help this explanation to make sure I got it. I tried some varients and evidently the first "%%" keeps the first markup from canceling the thumb and newwin and applies it to what follows and the "\\" breaks the inner "thumb" and lets you use the "caption" option on a frame. I tried a "%%" at the end to terminate the markup of block lframe but it doesn't really seem to care if it is there or now. Definately do not want a "\\" at the very end as that sets two images into one frame, which is cute but not what I was going for.
I can't find the "block" in the help files. Obviously (?) it is sticking everything into one "something" (tech term<G>).
Thanks,
John Morris
Subject: Re: windows
See if this suits you
%block lframe%%thumb newwin%[[SGGallery/001|CELOS-Photos:pizzadaywithlotsofkids_pan.jpg]]\\
[-%center%caption-]
Yours in hacking<grin>
- Henrik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20060616/6eb3798a/attachment.html
More information about the pmwiki-users
mailing list