Images in Hot Effects Rotator Module - Load Speed

  • kampala
    Inactive member
  • Topic Author
  • Member
  • Member
More
11 years 5 months ago #30736 by kampala
Hello, Is there any way to speed up the initial load of images in hot effects rotator module. I am running this module on my home page and images take a long time to do initial load. Is there a way to pre-load them ??

Please Log in to join the conversation.

More
11 years 5 months ago #30743 by ivan.milic
First of all make sure images are optimized. They don't need to be larger than size displayed, and Q-factor does not need to be 100, but that is more Photoshop or whatever job...

You can pre-load images by placing invisible divs elements this:

<div style="display:none;background-image:url('path to your image');" >.</div>

you can place them in some custom html module content.

Please Log in to join the conversation.

  • kampala
    Inactive member
  • Topic Author
  • Member
  • Member
More
11 years 5 months ago #30746 by kampala
Thanks, that does seem to help a bit. I still get a minor "flashing" of some of the images on initial page load - is that the expected behavior? I notice it happens on your demo too. Is there any way to disable or at least to minimize the "flashing" of images as it is kinda distracting.

Thanks for your help on this. I appreciate the excellent support as I learn.

Please Log in to join the conversation.

More
11 years 5 months ago #30756 by ivan.milic
Try this, add to main template css file:

#slider > a > IMG{
display:none;
}

Please Log in to join the conversation.

  • kampala
    Inactive member
  • Topic Author
  • Member
  • Member
More
11 years 5 months ago #30757 by kampala
Thanks !

#slider img {

display:none;

}

worked . THANKS

Please Log in to join the conversation.

Time to create page: 0.274 seconds
Powered by Kunena Forum