summaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
Diffstat (limited to 'themes')
-rw-r--r--themes/default/templates/photo_index.tpl8
1 files changed, 7 insertions, 1 deletions
diff --git a/themes/default/templates/photo_index.tpl b/themes/default/templates/photo_index.tpl
index 7fe04ab..fa63b31 100644
--- a/themes/default/templates/photo_index.tpl
+++ b/themes/default/templates/photo_index.tpl
@@ -135,7 +135,13 @@
<br class="cb" />
<script type="text/javascript" language="JavaScript">
<!--
- /*** image preloading ***/
+ // image preloading
+ //
+ // these few javascript lines will try to speed up loading all the photo
+ // thumbnails. An array of all photos to display will be built written
+ // by the smarty-template. The js-code will then loop through this array
+ // and invoke loading of each photo. Sadly this does not work good on all
+ // browsers.
{ counter start=-1 }
var current;