Slow loading of the slider images

May 2014 Joomla Template
GK User
Tue Jul 14, 2015 4:08 pm
Hi,
We use the University template in the GK ImageShow on our university new website (http://webdev.hauniv.edu). We are in the final stage to release the new website but first of all we have to find o solution on slow images loading on our home page. The first time that someone navigates to our website there is a long delay before the first image appears. Is there any way to resolve this issue?

I have read some others request regarding this issue on Gavick forum for other templates but until now there is no a solution. Can you please somebody send me some ideas? I will really appreciate this.

Thank you
Alexis
User avatar
Junior Boarder

GK User
Fri Jul 17, 2015 11:02 am
Hello,

As default the Image Show module loads images when the whole page is loaded. You can trigger that loading faster by changing line:

Code: Select all
window.addEvent("load",function(){


to:

Code: Select all
window.addEvent("domready",function(){


in the modules/mod_image_show_gk4/styles/gk_university/engine.js file.
User avatar
Administrator

GK User
Fri Jul 17, 2015 4:18 pm
I have made the change but nothing happened. I thing the problem remains (20sec loading delay before the first image appears).

You can try it on http://dev.hauniv.edu

Maybe there is another reason for long loading page.
If you have any other proposal please send it.

Thank you
Alexis
User avatar
Junior Boarder

GK User
Sat Jul 18, 2015 2:11 pm
For me it is loading quite normal but your issue is caused by fact that your images are extremely large - i.e. one of the header images has weight 1.2MB (!!) - please reduce your slides weight - recommended weight is 100-200kB
User avatar
Administrator


cron