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

On Thu, Mar 23, 2006 at 03:56:35PM -0700, Daniel Mitchell 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.

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}}

Regards
Michael

-- 
Michael Klier

mail:   chi@xxxxxxxxxxx
www:    http://www.chimeric.de
icq:    206179334
key:    http://www.chimeric.de/chi.asc
key-id: 0x8308F551

Other related posts: