<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>RE: [pmwiki-users] Image Thumb Link Capability</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>What I have found usefull on my site is that<BR>
for photo display you probably want at least<BR>
three main sizes: full size, viewing size<BR>
and thumbnail size.<BR>
<BR>
I organized it with the following directives<BR>
that I created:<BR>
<BR>
(:photo image1.jpeg:)<BR>
<BR>
Creates an appropriately sized image (~ 600x400)<BR>
for normal viewing embedded in a wiki page.<BR>
Eventually I would like this size to be settable<BR>
with a cookie since every viewer probably has<BR>
their preference for viewing photos (screen<BR>
resolutions vary drastically!)<BR>
<BR>
This image is then linked to the full size image<BR>
(~2000x...). The full size image is not on a page<BR>
so it cannot be linked back to anything.<BR>
<BR>
This photo viewing page would be Photos.Image1 and<BR>
contains Categories that this photo is in and a<BR>
title and descriptions etc.<BR>
<BR>
Then I have:<BR>
<BR>
(:thumb Photos.Image1 :)<BR>
<BR>
This works like a PageVariable, it will look at<BR>
the Photos.Image1 wiki page and find the first<BR>
(:photo:) markup and create a thumbnail size image<BR>
of it linking the thumbnail to the Photos.Image1<BR>
page. This might eventually be better off using<BR>
some form of page PageVariable such as<BR>
(:thumb {Photos.Image1$Photo}:), this would require<BR>
the (:photo:) directive to set a page variable.<BR>
<BR>
-Martin<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: pmwiki-users-bounces@pmichaud.com on behalf of H. Fox<BR>
Sent: Sat 1/28/2006 10:33 PM<BR>
To: Patrick R. Michaud<BR>
Cc: PmWiki-Users List<BR>
Subject: Re: [pmwiki-users] Image Thumb Link Capability<BR>
<BR>
On 1/28/06, Patrick R. Michaud <pmichaud@pobox.com> wrote:<BR>
> On Sat, Jan 28, 2006 at 05:08:52PM -0700, H. Fox wrote:<BR>
> > An image gallery capability is obviously on the back burner right now<BR>
> > (if it's even on the stove).<BR>
> ><BR>
> > In the meantime I'd like to see an author-friendly way to have a<BR>
> > thumbnail link to an image, then have the full-sized image link back<BR>
> > to the page with the thumbnail.<BR>
> ><BR>
> > The syntax would be something like<BR>
> ><BR>
> > %thumblink%Attach:Test/SomePhoto.jpg<BR>
><BR>
> Part of me has difficulty reconciling %thumblink% (which uses the<BR>
> wikistyle syntax) with making the image reference that follows into<BR>
> a link (or a page link). Somehow I think it ought to be a different<BR>
> syntax, or else I need to be convinced that wikistyles should be<BR>
> smart enough to change <img ...> into <a ...>....<BR>
><BR>
> I'd really prefer a different syntax, although I'm not sure what<BR>
> it would be. I'd even greatly prefer (:thumb Attach:Test/SomePhoto.jpg:)<BR>
> over the use of %thumblink%.<BR>
<BR>
I like that. One reason it's almost certainly better is because<BR>
parameters aside from the image URL could be added.<BR>
<BR>
I tried to pare it down to the essential functionality, so I didn't<BR>
mention alternate syntax, potentially using JavaScript or #anchor_tags<BR>
to reduce scrolling upon returning to the page, what do do about<BR>
captions, security concerns, and other things that I thought would<BR>
distract from the core idea.<BR>
<BR>
The core idea is a thumbnail link to a full-sized image, which in turn<BR>
links back to the page containing the thumbnail.<BR>
<BR>
Thanks,<BR>
<BR>
Hagan<BR>
<BR>
_______________________________________________<BR>
pmwiki-users mailing list<BR>
pmwiki-users@pmichaud.com<BR>
<A HREF="http://host.pmichaud.com/mailman/listinfo/pmwiki-users">http://host.pmichaud.com/mailman/listinfo/pmwiki-users</A><BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>