We've been developing our photo gallery for the last few weeks but the web page seems to lock if there is more than one image. (It
never works with more than one picture). You did mention to modify a parameters in your class script but it still doesn't work. .
Posted - Sep 08 2002 : 01:04:07
There are errors in your coding:
When using Pro which has been especially developed for loading multiple images (upgraded for Macs which have a memory problem), the loading applet needs to load last, otherwise a busy page such as yours will interrupt the image download. So the first thing to do is move the loading applet so that it appears at the bottom of your html (but still inside your closing body/html tags).
Posted - Sep 08 2002 : 01:06:30
Ok, tried that but it still won't show the images :-(
Posted - Sep 08 2002 : 01:24:14
It seems that you have your image class files in a folder different to the one for the pages and class files.
It is possible to do this but you need to do it properly. The applet will look for the image files according to the location of the Java files, which according to the first line of the applet code, is locally and not where your images are at.
You need to create a CODEBASE.
For example, if you want your pages in the root of your site (or anywhere else for that matter) and have your image class files and Java class files
elsewhere (the Java and image class files do need to be in the same folder for this to work folder) then you can add a CODEBASE statement to the first line of the applet code. Then the applet will look there for all associated files and you can stick to local references within the applet.
In this example, both your Java class files and your encrypted images will be in a folder at http://yourSite.com/encryptedimages/ and their web pages can be anywhere you like.