[dokuwiki] Re: Request for an improvement - allow % sizes for images - please!

  • From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 17 Feb 2011 11:54:18 +0100

>> the image size in dokuwiki is a (serverside) resize parameter for the
>> external resource the is loaded as part of the rendering process of
>> the page (the width/height of the page is unknown to the server
>> serving the image),
>
> Is that really right,

yes

> I'm talking about the 'thumbnail' image that appears
> actually in the Dokuwiki page, not what you see if you click on the image.
> I have an image on one of my Dokuwiki pages as follows:-
>    {{diagrams:200and800.png?295 }}
>
>    src="/_media/diagrams:200and800.png?w=295"

this will scale the image on the server side.

As Marc wrote, the width in HTML tags is just a hint to the browser.
You really don't want the browser to scale the image. Not only is it a
waste of bandwidth but it also looks like crap.


-- 
splitbrain.org
--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: