[dokuwiki] Two problems when including external pictures
- From: Frank Thommen <fthommen@xxxxxxxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Mon, 26 Jan 2009 14:03:46 +0100
Hi,
I have two problems when including external pictures in DokuWiki
(release 2008-05-05) using {{}} syntax:
1. Picture does not show in DokuWiki
------------------------------------
One set of pictures I want to include has URLs like
http://server:8080/a/b/c/3575
DokuWiki shows '3575' as a link to the picture, but not the picture
itself. The picture shows up correctly when opening the 3575 link.
Firefox' "Live HTTP Headers" shows the following - slightly shortened -
headers when opening http://server:8080/a/b/c/3575:
----------------------------------------------------------
http://server:8080/a/b/c/3575
GET /a/b/c/3575 HTTP/1.1
Host: server:8080
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US;
rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: [...loooong cookie string removed...]
Pragma: no-cache
Cache-Control: no-cache
HTTP/1.x 200 OK
Date: Mon, 26 Jan 2009 12:47:40 GMT
Server: Apache/2.0.52 (Unix) mod_ssl/2.0.52 OpenSSL/0.9.7c
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: image/gif
----------------------------------------------------------
2. Link to picture is abbreviated
---------------------------------
The other set of pictures I want to include has an URL with parameters:
http://server/a/b/per_0?pic=4377
However, when using {{http://server/a/b/per_0?pic=4377}}, DokuWiki shows
the string 'per_0' as a link to http://server/a/b/per_0 (which is
invalid w/o the 'pic' parameter) and again does not include the picture.
Any thoughts about how to fix one or both of the above problems?
In either case the pictures are changing regularly, so there is no use
in copying them locally. Also the URLs are given and cannot be changed
(to include filetype extension or similar).
Cheers & thanks in advance
frank
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
Other related posts: