[dokuwiki] Re: image resizing based on DPI

  • From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Tue, 14 Sep 2010 21:41:18 +0200

> Long story short: should this be something that dokuwiki does natively, so
> that images aren't shown on-page based on their pixel size, but on their
> "how big they should look" size?
>
> Keep as plugin, or recommend as dokuwiki built-in functionality?

Interesting idea. It might be sensible to use the DPI setting to
calculate width and height when both are ommited in the syntax. I
think this should be relatively easy to implement as an action plugin
hooking into some event in fetch.php, maybe it would even make sense
as core behaviour. But a plugin to test it out would be a nice
start...

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

Other related posts: