Loading...
 
Skip to main content

Features / Usability


Using external pictures???

Hi!

Is it somehow possible to insert pictures from external webservers into e.g. a blog entry without the need of uploading the pic before?

Using the integrated WYSIWYG-Editor's function to integrate pictures I can use relative paths like "/img/pic1.jpg"(which can of course only be used for local/uploaded pics!), but "http://domainname.com/img/pic1.jpg" or "domainname.com/img/pic1.jpg" does not work and results in error messages:
Notice: Undefined index: extension in /home/httpd/vhosts/gmydomain.com/httpdocs/lib/imagegals/imagegallib.php on line 1924

Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/mydomain.com/httpdocs/lib/imagegals/imagegallib.php:1924) in /home/httpd/vhosts/mydomain.com/httpdocs/tiki-blog_post.php on line 249

Thereby it doesn't matter if the absolute path points to my local/own webserver or to an other, external one - it doesn't work in both cases!

So, if I want to post an image, I alway have to upload it before, instead of directly refering to the external source! I think it's not very nice...

Can somebody help?
sanderson

At a blog at zukakakina.com (Tiki 1.9.4), I used the image Quicktag like this:
{img src=http://themes.tikiwiki.org/img/wiki_up/kubrick_screenshot.jpg width=160 height=120 align= desc= link=http://themes.tikiwiki.org/tiki-index.php?page=Kubrick }. After saving the blog post (no error messages) the image address is still reported as themes.tw.o.

I don't use the WYSIWYG editor. Maybe it makes assumptions about the image source that conflict with external addresses. In the meantime it seems using the Quicktags and inputting wiki syntax manually is the way to go if you want to use external images, unless there is some other cause for the errors.

-- GaryQuestion

> At a blog at zukakakina.com (Tiki 1.9.4), I used the image Quicktag like this:
> {img src=http://themes.tikiwiki.org/img/wiki_up/kubrick_screenshot.jpg width=160 height=120 align= desc= link=http://themes.tikiwiki.org/tiki-index.php?page=Kubrick }. After saving the blog post (no error messages) the image address is still reported as themes.tw.o.
>
> I don't use the WYSIWYG editor. Maybe it makes assumptions about the image source that conflict with external addresses. In the meantime it seems using the Quicktags and inputting wiki syntax manually is the way to go if you want to use external images, unless there is some other cause for the errors.
>
> — GaryQuestion

First of all thanks for the reply!
However this way does not work neither - same error message as above occurs!
No idea, why...I haven't modified the PHP-Code!