[opencms-dev] Problem in displaying images after synchronizing and publishing
krishnamohan
krishnamohan at indosoft.stph.net
Tue Feb 24 11:38:03 CET 2004
Hi All,
We are using OpenCms Synchronize feature for synchronizing file system
content(c:\) with opencms in our application. All the content is HTML files
only. The folder structure in the file system is folder(HTML) and
subfolder(images). In the HTML files, the images paths are specified as
relative paths (example: images/abc.gif). When the content is synchronized
to and published from opencms, they are exported to the server file system
so that users can see the pages on the browser using the web application
(not in opencms). However, the problem is that the images are not getting
displayed on the web pages. We have set - relativelinks_in_export=false in
opencms.properties so that we get the absolute URL. This is working fine
for all links in all other pages that are edited and published from OpenCms.
When we checked the image path for these synchronized files, we found that
the imageURLs are not transformed to absolute URLs. The image paths are
transformed only when the file is opened in OpenCms and saved back (after
published to server file system) and published again, resolving the problem.
However, this will add additional burden to the users to open each and every
file and save them back so that images are displayed on the web page. How
to resolve this issue. We would like the transformation to happen when we
synchronize and publish from OpenCms. Is this possible? We are using
tomcat 4.1.27 and Struts framework 1.1.
Awaiting for an early reply,
Thanks,
Krishna
More information about the opencms-dev
mailing list