Description

I use the desktop version of moin moin (1.5.5a-1.exe). And want to use my own pictures/images in a htdocs/Images folder.

I create a Image folder in htdocs, add pictures and use the statements below for linking to the images:

attachment:wiki/Images/quest.jpg doesn't work

/!\ this can't work! attachment is always connected to the wiki instance and not to any other Alias on your webserver

[[ImageLink(wiki/Images/quest.jpg)]] doesn't work

/!\ this can't work! attachments are always connected to the wiki instance and not to any other Alias on your webserver

what works is the: [[ImageLink(http://localhost:8081/wiki/Images/quest.jpg)]]

/!\ right syntax here

However, i do not want to place the complete url !

ok, let's see what could be done, I do accept this wish as a feature request. -- ReimarBauer 2006-11-10 18:59:03

Steps to reproduce

  1. create an subdir Images in the htdocs folder

  2. copy your images to that dir.
  3. try to link to the images from a wikipage via the examples above.
  4. only by giving the full http:... address the images are loaded inline. In all other cases only "upload mypic.jpg" with very strange links appear. Similar to MoinMoinBugs/ImageLinkToAttachmentBroken , however the images are NOT displayed!

Example

sorry can't access your htdocs folder.

Details

MoinMoin Version

1.5.5a-1.exe Desktop edition

OS and Version

MS XP

Python Version

included

Server Setup

standalone

Server Details

as included, changed port

Language you are using the wiki in (set in the browser/UserPreferences)

german

Workaround

what works is the [[ImageLink(http://localhost:8081/wiki/Images/quest.jpg)]]

correct syntax, it's not a workaround

Discussion

What does work for me is this: http:/MoinMoinBugs/ImageLinkToAttachmentBroken?action=AttachFile&do=get&target=moindude.png I.e. just putting the link (without full address, but starting with http: and a single /). -- Allefant 2006-11-09 15:22:41

Either use normal attachments to pages (attachment:photo.jpg or http links). You are trying to do stuff that is not supported and can't work that way.

That is a different description as the one above: Sorry, may be my load is to high at the moment. I am not sure if I understand that right here, e.g.

[[ImageLink(MoinMoinBugs/ImageLinkToAttachmentBroken/moindude.png,MoinMoinBugs/ImageLinkToAttachmentBroken)]]

gives the following result. That behaviour is correct or ? BR[ATTACH]
Please use this example to show me what is wrong if you disagree. -- ReimarBauer 2006-11-10 18:51:36


to ReimarBauer:

Plan


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/ImageInHtdocsBroken (last edited 2007-10-29 19:09:17 by localhost)