[pmwiki-users] Image markup (Was: viewing uploaded images)

The Editor editor at fast.st
Sat Jun 30 19:03:06 CDT 2007


On 6/30/07, Petko Yotov <5ko at free.fr> wrote:
> > > PmWiki's general rule of thumb is that anything in [[...]] generates a
> > > link (or link target).
> >
> > This is actually a bit confusing. Even as a long time user it happens
> > relatively often that I expect [[...]] to result in an image. Phrased
> > differently, it's not so intuitive having to do:
> >
> >       [[Attach:some image name.jpg | Attach:some image name.jpg]]
> >
> > I don't have a better suggestion though... it makes sense that a [[...]]
> > should always produce a link.
> >
> > Here's how I often use images:
> >
> >       %center width=50pct%\
> >       [[Attach:some image name.jpg | \
> >            Attach:some image name.jpg"This is the image title!"]]\
> >       [[<<]]
> >
> > My problem with it is that it's a bit long, and difficult to remember.
> > It's especially bothersome when the image URI is long.
> >
> > Maybe some better/dedicated markup for doing something along these lines
> > would be easier. I think the markup achieves the following:


The markup I use on my wiki is [^picture.gif^].  If the file exists,it
loads the picture, if not it displays a clickable link of the file
name that calls the upload function. I also it for links to
downloadable files also. The notation works well for me.

Cheers,
Dan



More information about the pmwiki-users mailing list