[dokuwiki] Re: Bug in inserting media / image scaling?

> In fact it doesn`t break the ability to size things, you must insert
the
> scaling values at the right position. Eg
> 
> {{:users:danielm:firebg.jpg?400|:users:danielm:firebg.jpg}}

 Okay, that works, but it seems like its backwards from normal links.
The text on the right hand side of the | is the description of the link,
the part on the left-hand side is where it points. So I'd expect that
{{foo.jpg?400|foo.jpg}} means "link to a 400pixels wide version of
foo.jpg, and use foo.jpg to display that link" just like
[[http://www.google.com|Google]] means "link to www.google.com and use
"Google" to display that link". 

 I guess [[foo.jpg|{{foo.jpg}}]] is "link to foo.jpg and use foo.jpg to
decorate that link", and what's happening now is that it's putting in
identical things for the image and the tooltip text for the image.

 It just seems like it would be easier if the insert-image code didn't
put in the extra copy of the filename for the tooltip text, because that
way what people get when using this is much more like what the "syntax"
page describes for image links; or the syntax page should make it
clearer what to do when you have text like {{foo.jpg|foo.jpg}} in your
page.

 -- dan
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: