[pmwiki-users] Image Thumb Link Capability

H. Fox haganfox at users.sourceforge.net
Sat Jan 28 21:33:00 CST 2006


On 1/28/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> On Sat, Jan 28, 2006 at 05:08:52PM -0700, H. Fox wrote:
> > An image gallery capability is obviously on the back burner right now
> > (if it's even on the stove).
> >
> > In the meantime I'd like to see an author-friendly way to have a
> > thumbnail link to an image, then have the full-sized image link back
> > to the page with the thumbnail.
> >
> > The syntax would be something like
> >
> >   %thumblink%Attach:Test/SomePhoto.jpg
>
> Part of me has difficulty reconciling %thumblink% (which uses the
> wikistyle syntax) with making the image reference that follows into
> a link (or a page link).  Somehow I think it ought to be a different
> syntax, or else I need to be convinced that wikistyles should be
> smart enough to change <img ...> into <a ...>....
>
> I'd really prefer a different syntax, although I'm not sure what
> it would be.  I'd even greatly prefer (:thumb Attach:Test/SomePhoto.jpg:)
> over the use of %thumblink%.

I like that.  One reason it's almost certainly better is because
parameters aside from the image URL could be added.

I tried to pare it down to the essential functionality, so I didn't
mention alternate syntax, potentially using JavaScript or #anchor_tags
to reduce scrolling upon returning to the page, what do do about
captions, security concerns, and other things that I thought would
distract from the core idea.

The core idea is a thumbnail link to a full-sized image, which in turn
links back to the page containing the thumbnail.

Thanks,

Hagan




More information about the pmwiki-users mailing list