[dokuwiki] Re: Media/image files, isn't there a simpler way?

  • From: Chris G <cl@xxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 18 Aug 2010 12:40:10 +0100

On Mon, Aug 16, 2010 at 03:07:26PM -0700, Michiel Kamermans wrote:
> Hi Crhis,
> 
> >Have you actually tried that?  I can't get dokuwiki to display *any* files I 
> >put in the<dokuwiki>/data/media directory.
> 
> Yes I have. But just to confirm, I checked my dokuwiki on
> http://grammar.nihongoresources.com, just now, and the images as
> well as pdf links are right there, linking quite correctly.
> 
> If your dokuwiki misbehaves, start by turning off all custom plugins
> you installed, and verifying the problem still exists. If it does,
> or if you didn't install any custom plugins, verify that you
> installed the dokuwiki using the install.php script, instead of just
> copying the dokuwiki files over and immediately using the dokuwiki.
> 
You're right (mostly!), I had an arcane error due to some symbolic
links (I'm sharing my plugins between dokuwiki installations) and as a
result the media links were getting confused.  Normal [[xxx]] links
worked perfectly but media {{xxx}} links were decidedly confused. A
re-installation and copying of data has sorted things out.

Now that I can actually refer to media files in .../data/media as
{{:media.png}} I'm fairly happy as I can just copy the files direct to
that directory and insert the reference in the pages.

I still think the media link creation button in the editor is a bit
convoluted and really can't understand why one would want to keep
media files in a different place from the pages.

Thanks for all the help anyway.  :-)

-- 
Chris Green

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

Other related posts: