[Pmwiki-users] A special case of link markup: Image -> Image
Wed May 26 06:08:45 CDT 2004
I was just asked how to make an image that links to another image (e.g.
you have a small version of the image which when you click on takes you to
a big version of that image).
The markup looks like this today:
How would this case look like in the new suggested markup?
Would it be possible to supply an alternate text for both images, or is
that not relevant?
Would it make sense to have a directive for the special case of using a
small image as link "text"? This directive could in principle also be
responsible for extracting a smaller version of the big image (call ing
e.g. ImagMagick and cacheing the thumbnail). It could look like this:
which would automatically generate
if it doesn't exist, and generate a useful HTML.
Hmm.. I have a feeling that the above is getting to advanced...
Christian Ridderstr?m http://www.md.kth.se/~chr
More information about the pmwiki-users