[opencms-dev] Install demo Page: no pictures accessible

Manfred Pruntsch manfred.pruntsch at ifcos.com
Wed Apr 24 17:17:34 CEST 2002


Hallo Marcel,

what for an access do you need?
Can you see the pictures?
Or intend you to use the pictures in your own templates? Then you have to
built absolute pathes to the pictures. It looks like this:
<img src="]]><method
name="getServletPath"/><![CDATA[pics/images/beautifulimage.jpg">

Relative pathes will not work.


best regards
Manfred Pruntsch


>
>
> I've just installed (almost successfully) the demo webpage
> according to my own description below.
>
> First I 've installed successfully the OpenCms servlet as described on:
> http://www.opencms.org/opencms/opencms/service/installation46.html
>
>
> ------------------------- BEGIN INSTALLATION --------------------------
> 1. Download the follwoing files from:
>
> http://www.opencms.org/opencms/opencms/service/modules.html
> - NewsModule4.zip
> - website_for_oc_4.4.0.zip
>
>
> 2. Unzip NewsModule4.zip
>
> Update the opencms database
> $ mysql -u <user> -p <database> < NewsModuleSetup.sql
>
> Copy  com.opencms.modules.homepage.news_4.zip to
> $CATALINA_HOME/webapps/opencms/WEB-INF/export/modules/
>
> Login as admin.
> Select project 'Online'
> Go to Administration --> Modulemanagement -->
>         Upload Module from --> Server
> Choose com.opencms.modules.homepage.news_4.zip
>
>
> 3. Unzip website_for_oc_4.4.0.zip
>
> Update the opencms database
> $ mysql -u <user> -p <database> < website.sql
>
> Copy website_import3.zip to
> $CATALINA_HOME/webapps/opencms/WEB-INF/export/
>
> Create a new project.
> Select the new project.
>
> Go to Administration --> Databasemanagement --> Import
> Choose website_import3.zip
>
> Publish the new project.
> ------------------------- END INSTALLATION --------------------------
>
> Now I got the website locally, but I cannot get access to any pictures
> although all the pictures necessary for the website are in
> /picts/templates/
> I've checked the permissions on /picts/templates/* and I guess that they
> are ok.
>
> Could anybody help?
>
> Regards
> Marcel Luternauer
> mailto:marcel.luternauer at sicap.com
>




More information about the opencms-dev mailing list