Gossamer Forum
Home : Products : Others : Fileman :

Insert a picture by pic.jpg and not http://domainxyz.com/fileman/.../pic.jpg possible?

Quote Reply
Insert a picture by pic.jpg and not http://domainxyz.com/fileman/.../pic.jpg possible?
Hi,

is it possible to insert a picture in the wysiwyg editor by naming it only "picture.jpg" instead of the whole path like http://domainxyz.com/fileman/.../picture.jpg? If I do so, the script linked to a false path (http://domainxyz.com/pic.jpg) within the editor and only showes "the no image error" --> the layout ist destroyed - but on the website outside the editor the image path is ok and the picture ist shown correctly. Is there a chance to change this?

Thanks for helping me.

cu
pennratz
Quote Reply
Re: [pennratz] Insert a picture by pic.jpg and not http://domainxyz.com/fileman/.../pic.jpg possible? In reply to
Hi pennratz,

You can try using a base tag in the head:

Code:
<head>
<title>Page Title</title>
<base href="http://www.domain.com/path_to_images/">
</head>

That should let you use picture.jpg without the full url.

~Charlie
Quote Reply
Re: [Chaz] Insert a picture by pic.jpg and not http://domainxyz.com/fileman/.../pic.jpg possible? In reply to
Hi Charlie,

thank you for your tip but after I inserted the base tag in the head of the html file nothing happend. In the editor all pictures are shown as error and outside fileman (or in the preview funktion of fileman) there is all ok. Is there an other way?
Thanks for your time.

cu
pennratz
Quote Reply
Re: [pennratz] Insert a picture by pic.jpg and not http://domainxyz.com/fileman/.../pic.jpg possible? In reply to
In Reply To:
Is there an other way?

You've got me stumped :/ I don't normally use the HTML editor so I never really looked into it. Sorry I couldn't be of more help to ya.

~Charlie