[dokuwiki] Re: Displaying image
- From: Myron Turner <turnermm02@xxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Tue, 28 Oct 2008 20:49:00 -0500
tom corcoran wrote:
Great thanks, that works. It puts the image in a namespace under
data/media. Created markup was:
{{:mynamespace:myimage.jpg|}}
Notice the colon beforehand and the | after. Should I update
http://www.dokuwiki.org/syntax#images_and_other_files ?
The initial colon indicates that mynamespace is immediately off the
"root", but as long as the image is stored under media/mynamespace, the
initial colon should not be necessary, which is why the syntax page can
correctly show the markup as:
{{wiki:dokuwiki-128.png}}
If you look at the data/pages directory, you will find the wiki
directory immediately under pages:
data/pages/wiki
Similarly, if you look in the media directory, you will find the
following structure:
media/wiki
where media is logically equivalent to pages, so that in both structures
wiki has the same relationship to its "root".
As for the pipe, whatever you place after it will be assigned to both
the title and alt properties of the image tag and will show up as a
tooltip when you move your cursor over the image.
Myron
_____________________
Myron Turner
http://www.mturner.org
http://net18reaching.org/cityscapes
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- References:
- [dokuwiki] Displaying image
- From: tom corcoran
- [dokuwiki] Re: Displaying image
- From: Andreas Gohr
- [dokuwiki] Re: Displaying image
- From: tom corcoran
- [dokuwiki] Re: Displaying image
- From: Myron Turner
- [dokuwiki] Re: Displaying image
- From: tom corcoran
Other related posts:
- » [dokuwiki] Displaying image
- » [dokuwiki] Re: Displaying image
- » [dokuwiki] Re: Displaying image
- » [dokuwiki] Re: Displaying image
- » [dokuwiki] Re: Displaying image
- » [dokuwiki] Re: Displaying image
{{:mynamespace:myimage.jpg|}}
Notice the colon beforehand and the | after. Should I update
http://www.dokuwiki.org/syntax#images_and_other_files ?
- [dokuwiki] Displaying image
- From: tom corcoran
- [dokuwiki] Re: Displaying image
- From: Andreas Gohr
- [dokuwiki] Re: Displaying image
- From: tom corcoran
- [dokuwiki] Re: Displaying image
- From: Myron Turner
- [dokuwiki] Re: Displaying image
- From: tom corcoran