Rotor images do not load immediately

g10tto - July 8, 2009 - 19:15
Project:Rotor Banner
Version:6.x-2.2
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

First, super huge compliments on the module. Great work!

However, I have a production site that will be going live soon and I'd like to address the issue where images do not immediately load upon loading a block to the site.

90% of the time I log onto a site with a rotor on the front page it's not there, and it seems I have to refresh the page for any missing images to appear.

So does that mean I need to stop cacheing my rotor blocks or maybe do some sort of tricky Javascript preloading of the images?

Could this have something to do with other parts of my Drupal site?

You can check it out here: http://www.cteaguedesign.com

#1

mrfelton - July 12, 2009 - 10:10
Status:active» postponed (maintainer needs more info)

I'm going to need some more information to help debug this:

Which version of the following modules do you have installed:
- jquery_plugin
- upload_element
- views

Do you have block caching enabled?
Do you have page caching enabled (normal or aggressive)?
Do you have JavaScript aggregation enabled?

Is your file system set to public or private?

Do you see any JavaScript errors in FireBug?

#2

mrfelton - July 12, 2009 - 10:25

OK, I'm not seeing the problem you describe. However, looking at your site with firebug, I'm seeing this JavaScript error message twice:

'[cycle] terminating; too few slides: 1'

It appears that you have three rotor blocks on the page, one of them always rotates, whilst the other two don't. I'm guessing that in the two blocks that aren't rotating, you simply don't have enough items in your View to cycle through, hence the JavaScript error message. I know that doesn't answer your actual question, but for me, all the images load 100% of the time, with the browser cache either on or off.

#3

g10tto - July 13, 2009 - 18:40

I will send you my version list shortly.

"I'm going to need some more information to help debug this:

Which version of the following modules do you have installed:
- jquery_plugin
- upload_element
- views

Do you have block caching enabled?
Do you have page caching enabled (normal or aggressive)?
Do you have JavaScript aggregation enabled?

Is your file system set to public or private?"

In the meantime, what are the preferred settings for these questions?

 
 

Drupal is a registered trademark of Dries Buytaert.