Preload template for lightning spead Preload template for lightning spead
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Preload template for lightning spead

Started by carefree, August 02, 2007, 04:29:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

carefree

Is there a way to preload the template so it loads first , then the pictures??

Joachim Müller

The template in fact is only the HTML frame that your image gets embedded into, so it should always load faster than your image. Graphical resources within your template (banners etc.) should be cached by the visitor's browsers, so they should be there first as well.
I'm not sure what you mean - post more details. Posting a link to your gallery is almost mandatory if you have questions on themeing.

carefree

Basiclly preload everything first (including the thumb cells if possible) then the thumbnail images.

Users will leave the site even before the index page takes it time to load, even if the following pages are quick to load. And more users makes for slower loading.

I thought I would ask if there was a <!--function preload()--> script that was already availiable.

Otherwise ill work on sumthing

Joachim Müller

I have no idea what you're refering to nor how something could be preloaded. I suggest posting a link to your gallery for a start, so we can determine the actual performance of your page and possibly advice improvement suggestions.

carefree

Ok if you look at http://www.pichunter.com //warning adult content// youll see everything loads before the pictures and its fast.

Then take a look at http://www.freexxxhunters.com/all  //warning adult content//  the menu bar loads first then after 10 or seconds later everything else appears all at once.  Thats my mission is to load the template and the picture table and cells so it displays first then the pics last

Ive taken out radom pics and reduced the queries on mysql but a 10 second load is too long

Not sure if its possible with coppermine but just checking anyhow

Let me know what you think

Nibbler

The delay seems to be caused by your own custom javascript.