Why does the first work (click on image), but not the second?
The second should show the image, as the Browser does.
{{:img | goban | http://senseis.xmp.net/images/goban-alignright.jpg | link= http://senseis.xmp.net }}
{{:img | goban | http://senseis.xmp.net/images/goban-alignright.jpg | link= http://senseis.xmp.net/images/goban-alignright.jpg }}
Error: link address is invalid
Robert,
indeed, linking to other images doesn't work.
The reason is that for parsing the "link=" URL the engine uses its standard URL parser (that also understands camelcase wiki links etc.) and then checks afterwards if that parser produced a real link.
When you link to an image the parser produces an inline image tag. The check then fails (image produced instead of link) and you get the error message about the invalid link address.
Is there a usecase where you would like to link to an image? I could change the behaviour of the final check.
Meanwhile (as the parser is rather dumb) there is a workaround: append a question mark at the end of the link URL:
{{:img | goban | http://senseis.xmp.net/images/goban-alignright.jpg | link=http://senseis.xmp.net/images/goban-alignright.jpg? }}
/Arno
Hi Arno. On Sente Seki Bill linked to a Schnitzelbank poster. Recently I refreshed the link. At that occasion I used the image template: it showed the poster inline, great, but too large. I therefore scaled it down. However, to read the text on it, you need the real size. It would be nice if one simply could click on it and see it large, and, if that's not enough, zoom in with the Browser. Searching the image in the gallery after the click is awkward.