Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon4.gif   Absolut links for images in FCK Editor, posted by Jochen Krempel on Thu Feb 7 14:22:57 2008 
    icon2.gif   Re: Absolut links for images in FCK Editor, posted by Stefan Ritt on Mon Feb 11 17:28:33 2008 
       icon2.gif   Re: Absolut links for images in FCK Editor, posted by Jochen Krempel on Tue Feb 12 23:57:52 2008 
Message ID: 65728     Entry time: Mon Feb 11 17:28:33 2008     In reply to: 65726     Reply to this: 65739
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Bug report  OS: All  ELOG Version: 2.7.2-2 
Subject: Re: Absolut links for images in FCK Editor 

Jochen Krempel wrote:

We use ELOG inside a local network, but we want to allow access also from outside the firewall.

The suggested solution from Elog Admin Guide worked fine until version ELOG V2.6.5-1844 (essentially without FCK Editor):

ssh -L 1234:your.server.name:8080 your.firewall.name
firefox
http://localhost:1234/

Howerver, since the update to ELOG V2.7.1-2002 the FCK Editor uses absolute links to insert images.

An image uploaded from the local network will have an address like:

http://your.server.name:8080/logbookname/080207_101110/Picture.jpg

while the same image uploaded through the firewall tunnel will have a link like:

http://localhost:1234/logbookname/080207_101110/Picture.jpg

Obviously images uploaded from outside are not visible from inside and vice versa.

Is it possible to convince FCK Editor to use relative links?

PS
ELOG is great!!

 

I fixed this in SVN revision #2038.

ELOG V3.1.5-fe60aaf