1

I'm currently using the Marinelli theme for a project. It loads ALL the top banner pictures before showing the page. Very slow. Results in a big download size for the home page. Is there a way to get Drupal or the theme to put off loading all but the first banner pics when it displays the page. See my screen capture of pingdom.com

Dave

Screen capture of pingdom.com

1
  • If you can tell us how you'd do this in a non-Drupal site, we can help you implement it in Drupal.
    – Clive
    Commented Jun 14, 2014 at 10:31

1 Answer 1

1

I think you're looking for a technique called "lazy-loading" to implement on your pages. Lazy loading means that the images are only loaded upon viewing them.

You can use the Lazyloader module as a start to implement it, however how it will exactly work for your site is completely dependent on your Drupal theme and module(s) configuration. One useful example (and starting point) is this blogpost, which explains how to implement the layloader module in combination with a slideshow.

1
  • Thanks, I think this is the answer unless someone else has other solutions...
    – Dave N
    Commented Jun 14, 2014 at 15:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.