[dokuwiki] Re: Passing links to images through without pefetching

  • From: Dmitry Katsubo <dma_k@xxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sat, 10 Jul 2010 00:10:13 +0200

Myron Turner wrote on 09.07.2010 15:18:
> Dmitry Katsubo wrote:
>> On 01.07.2010 18:55, Dmitry Katsubo wrote:
>>> Example:
>>>
>>> {{http://my.com/images/panasonic.gif}}
>>>   -- is converted to -->
>>> <img src="http://my.com/images/panasonic.gif"; />
>>>   -- but not to -->
>>> <img src="lib/exe/fetch.php?hash=...panasonic.gif" />
>>
>> Maybe, issuing a feature request in bugtracker is a good idea?
>>
> 
> This would give you:
>    http://my_server.com/my_wiki/data/media/image.gif
> 
> Have you ever tried that?  You should get a 403 forbidden, because the
> data directories are protected by an .htaccess rule that forbids direct
> access.

Ah, yes, I understand your hint :)
I am running a wiki on a different server, and I want to embed the
external image into my page. If the image needs resizing or any other
preprocessing, it should be of course fetched by wiki and returned to
browser. In the case I've described, the external image is embedded as
is, so the direct link should be returned to the browser, thus reducing
the traffic for the server.

-- 
With best regards,
Dmitry
-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: