![]() There is probably some optimization possible (see also comments in the index.htt, slide.htt and googlemaps.html file), but getting this first version to work was great fun and really easy. On 1 photo template ( slide.htt) the information provided by JAlbum is used to pass the coordinates of the current image. Clicking on one of the thumbnails takes you to large version of that photo. The index pages display 1 marker for all photo's at the same location, when clicking the marker the balloon shows thumbnails of all images at that location. On the index template ( index.htt) this information is used to generate a KML file of which the URL is passed to the iframe. JAlbum uses some template files to generate the webalbum pages and in these templates you have access to the details of the photo(s) being displayed. =/webalbums/googlemap.htmlīoth of the above properties could include a host name, but since I'm hosting everything on the same server that was not necessary for me. # This location is bound to the Google Maps API key. ![]() # The location of the HTML page that displays the map and # The root where the webalbum will be hosted Two properties have been added to the JAlbum project file: However, for the index pages the Google Maps code needs to retrieve a KML file from the location where the webalbum is hosted and therefore needs the exact address. Reason being that the page containing the Google Maps scripts that is used in the iframe may be at a different server/location then the webalbum. For a long time I was able to keep hardcoded addresses out of the solution, but in the end it became necessary to know the location at which the generated webalbum would be hosted. By including a couple of parameters (map width/height, coordinates, url of KML file) the contents of the map can be controlled by the page including the iframe.Īnother challenge was not including hardcoded addresses in the templates. The solution to this was to display the map in an iframe, this iframe is then included on the web album pages and because it is always the same page displayed in the iframe, it is possible to use 1 Google Maps API key. Not very practical, especially when you use a automated process to organize your photo's by date of subject like me. This key is bound to 1 directory and since most photo albums are organized in some form or directory structure that would require a new API key for each directory. When you sign up for the Google Maps API you get a API key that must be included in the pages that display a map. Using the Google Maps API and by tweaking the Chameleon skin this was pretty easy to accomplish.įirst challenge I had to solve was one related to Google Maps. Another feature I wanted was to have an overview of all photo locations on the index pages. The Chamelon skin already links to Google Maps, but in a separate pop-up window and I wanted to have the map info next to the photo's themselves. I'm using JAlbum to generate a website for my photo's and using the Chameleon skin you generate a decent website easily. ![]() It is shockingly easy to create something with it and I decided to integrate it into my webalbum. So you must follow instructions with caution.Finally found some time to play with Google Maps. We are not liable for whatever damage may occur following this fix for we are not the one actually editing your registry. Then proceed on Java installation.ĭISCLAIMER: Editing of the registry will make your windows shut-off and need re-installation of the whole operating system. Then search for the “JAVASOFT” keys on the registry then delete it. Delete the installed applications and libraries on the program files (only Java related files) as well as in user app data where the Java has the entries. You will do this because you can’t install new Java without un-installing the old one.įirst thing to do is delete all files which are related to Java manually. So you need to do some trick to remove your old Java runtime libraries. If this solution doesn’t work yet, un-install your JALbum application then restart your computer and re-install the JALbum.Īs an additional for this, there are some instances that removing the Java runtime libraries is too tricky, or it is hard to remove because you won’t find any un-installation entry on the installed program. Sometimes updating doesn’t works and it is better to un-install it then re-installs with a new one. Or you may download the Java runtime libraries update version and update your Java Runtime libraries. What you need to do is to un-install the installed Java runtime libraries in your computer and downloads the latest one. This error might occur because you are running the JALbum in an un-updated Java runtime library which is required to run the JALbum application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |