RJLodigiani But it looks like it cannot find the source file.
The source file exists because I was able to show with regular DOKUWIKI syntax.
Yes. but here you are writing your own html code. DokuWiki will not process it and replace ":wikihistorial7o:fotopedia:iniciosteinemann.jpg" with the actual URL. You have to do it yourself, ie you must write something like this
<div class="foto"><img src="_media/wikihistorial7o:fotopedia:iniciosteinemann.jpg"></div>
or, like that
<div class="foto"><img src="/lib/exe/fetch.php?media=wikihistorial7o:fotopedia:iniciosteinemann.jpg"></div>
depending on your userewrite
config value. (to get the actual code you have to take a look at the URL your DW instance generates when you insert an image with regular DokuWiki syntax.)
But maybe you could do the same thing differently with the wrap plugin. Create or edit with a notepad editor the file conf/userstyle.css
and add your style there.
div.dokuwiki {
.wrap_foto {
border: 3px solid #ddd;
border-radius: 4px;
padding: 5px;
}
}
Then insert the image using regular DW syntax
<wrap foto>{{:wikihistorial7o:fotopedia:iniciosteinemann.jpg?150|Inicio Steinemann}}</wrap>
EDIT :
added missing <img>
tag