[opencms-dev] URL of images are absolutes

ThiƩbaut CHAMPENIER thiebaut.champenier at synlogic.ch
Tue Feb 27 08:38:46 CET 2001


> > When I insert an image in a page using the drag&drop image 
> chooser from
> > the built-in html editor (BTW, how can I use FrontPage 
> instead?) the URL
> > og the image (<img src="...">) is absolute: when I'm sitting on the
> > server, the url added is something like <img
> > src="http://localhost/servlets/opencms/pics/images/my_logo.gif">.

> There is the dangerous way and the safe way! I wrote a little 
> search/replace
> program that modifies the database contents directly.

Fine, but wouldn't it be nice if OpenCMS inserted images like this:
<img src="/servlets/opencms/pics/images/my_logo.gif">
Or is it only due to the stupidity of the HTML editor?  Then how can I
use another one?

thanks



More information about the opencms-dev mailing list