AW: [opencms-dev] URL of images are absolutes

Simon Wilks simon.wilks at silion.ch
Tue Feb 27 08:47:37 CET 2001


Yes, it would be great that way. It's coming apparently. So for now only a
workaround will do it it seems.

Regards,

Simon Wilks
Software Engineer
simon.wilks at silion.ch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
silion (switzerland) ag    software engineering
spinnereistrasse 8              9008 st. gallen
tel 0878 80 90 60             fax 0878 80 90 30
info at silion.ch                    www.silion.ch

a member of the Penta Group   www.pentagroup.ch



> -----Ursprüngliche Nachricht-----
> Von: owner-opencms-dev at www.opencms.com
> [mailto:owner-opencms-dev at www.opencms.com]Im Auftrag von Thiébaut
> CHAMPENIER
> Gesendet: Dienstag, 27. Februar 2001 08:39
> An: opencms-dev at www.opencms.com
> Betreff: RE: [opencms-dev] URL of images are absolutes
>
>
> > > 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