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

On 3/23/06, Daniel Mitchell <DanielMitchell@xxxxxxxxxxxxx> wrote:
>  If I insert a picture into a page with the "picture" icon from the
> editor, I get a result like this:
>
> {{:users:danielm:firebg.jpg|:users:danielm:firebg.jpg}}
>
>  If I want that image to show up as 400 wide, I change it to
>
> {{:users:danielm:firebg.jpg|:users:danielm:firebg.jpg?400}}
>
>  But that doesn't scale it, I still get the full-sized image in the
> page. If I change it to the simpler
>
> {{:users:danielm:firebg.jpg?400}}
>
>  Then it does work as expected. Is there any reason that the media
> insert stuff is putting the image on both sides of the | symbol? I can
> see why it's doing it, so that the image is the "description" of the
> link to itself, but it's a pain that it breaks the ability to size
> things.
>
>  -- dan
> --
> DokuWiki mailing list - more info at
> http://wiki.splitbrain.org/wiki:mailinglist
>

Why don't you change
{{:users:danielm:firebg.jpg|:users:danielm:firebg.jpg?400}} to
{{:users:danielm:firebg.jpg?400|:users:danielm:firebg.jpg}} so the
actual URL gets the size and not the description?

--
Mark McCoy -- Professional Unix geek

"On two occasions I have been asked, 'Pray, Mr. Babbage, if you put
into the machine wrong figures, will the right answers come out?' I am
not able rightly to apprehend the kind of confusion of ideas that
could provoke such a question. "  -- Charles Babbage
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: