[dokuwiki] new option for {{Image}} syntax
- From: "phidele" <phidele@xxxxxxxxxx>
- To: <dokuwiki@xxxxxxxxxxxxx>
- Date: Fri, 10 Apr 2009 19:46:35 +0200
Hi all,
I try to have my Dokuwiki images autosizing when rendered inside a box from
the styler plugin (whatever the size of the box). I did'nt found any wiki
syntax to do it and I am using the following code embeded in the dokuwiki page:
------------
<style box background float-left s30>
<html>
<style type="text/css" media="screen">
.image-holder img {width:100%}
</style>
<div class="image-holder">
<img src="/data/media/cauldron/images/cartes/ierendiisland.jpg">
</div>
</html>
<style float-left>
-------------
In that way, my image is now autosized inside the styler plugin box. This is
very helpful when changing of size of screen with two (or more) column divs.
Question: Can the Image syntax be modified so that an option to set-up an
autosizing in a box container (like the one styler provides) is available ?
If yes how to do it ?
a - Modification in core dokuwiki ? What kind and where ?
b - Modification through a plugin ? (seems a little bit poor IMHO)
Thank you for help to a very newbie in this community.
Phidele
Other related posts:
- » [dokuwiki] new option for {{Image}} syntax - phidele