[dokuwiki] Re: Complex image URLs

Hi Andi,
Thanks for the tip!!!

I solved this way:
- the site does not work if you add the &.png and the end, so I added: &dokuwiki=.png
 and it worked
- also, I noted that the image src en the wiki is added as ...media=http:// ..., so I URL encoded
 it in :
and the resulted image link is: http%3A%2F%2Fext.host-tracker.com%2Fuptime-img%2F%3Fs%3D15%26t%3D272952%26m%3D00.09%26p%3DTotal%26src%3Dlvuc%26dokuwiki%3D.png I used this site for the URL Encode: http://www.albionresearch.com/misc/urlencode.php
- better yet, it also worked as a image link with a comment:
[[http://host-tracker.com/es/web-site-monitoring-statistics/272952/lvuc/|{{http%3A%2F%2Fext.host-tracker.com%2Fuptime-img%2F%3Fs%3D15%26t%3D272952%26m%3D00.09%26p%3DTotal%26src%3Dlvuc%26dokuwiki%3D.png|Uptime monitoring comment}}]]
- it worked in Firefox and IE6 ;)


Thanks
Oliver

Andreas Gohr wrote:
On Sat, 07 Apr 2007 08:47:56 -0400
"Oliver Schulze L." <oliver@xxxxxxxxxxxxx> wrote:

Hi,
I just wanted to add an image to my wiki and couldn't becuase the URL
was a little complex or non compliant.

Anyone knows if this kind of url will work in dokuwiki or if it
posible to "Escape" or "Encode" it in order to work?
{{http://ext.host-tracker.com/uptime-img/?s=15&t=291185&m=00.09&p=Total&src=lvuc}}

See http://wiki.splitbrain.org/wiki:images#dynamic_images

This should possibly work:

{{http://ext.host-tracker.com/uptime-img/?s=15&t=291185&m=00.09&p=Total&src=lvuc&.png?nocache}}

Andi


--
Oliver Schulze L.   | Get my e-mail after a captcha in:
Asuncion - Paraguay | http://tinymailto.com/oliver
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: