Hi, I'm setting up a slideshow for a client site and have used Views Slideshow at least a half dozen times without any significant issues. I'm currently using 6.x-3.0-beta1 cycle and loading a set of relatively large slideshows (each slideshow is 4-7 MB in total) displaying at the full width of a fluid theme. However, each time I land on one of these slideshow pages, the first slide doesn't load incorrectly – the top 5% of it loads and it hangs and then the slideshow eventually transitions to the next slideshow it is fine thereafter. Often (but not always) if I go back to a slideshow like this once it is cached it works – but not always. This error seems to happen about 40-60% of the time.
I found this error: http://drupal.org/node/1102982 – which appears to be the same thing, but my problems are happening across all browsers. I had originally thought it was an ImageAPI issue and switched to ImageMagick, but the problem is persisting. I thought it may be set_memory_limit as the dev site I'm using is capped at 96M. Any suggestions?
Drupal.settings javascript:
<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, { "basePath": "/", "cron": { "basePath": "/poormanscron", "runNext": 1306640701 }, "popup": { "effects": { "show": { "default": "this.body.show();", "fade": "\n if (this.opacity){\n this.body.fadeTo(\'medium\',this.opacity);\n }else{\n this.body.fadeIn(\'medium\');\n }", "slide-down": "this.body.slideDown(\'medium\')", "slide-down-fade": "\n this.body.animate(\n {\n height:\'show\',\n opacity:(this.opacity ? this.opacity : \'show\')\n }, \'medium\'\n );" }, "hide": { "default": "this.body.hide();", "fade": "this.body.fadeOut(\'medium\');", "slide-down": "this.body.slideUp(\'medium\');", "slide-down-fade": "\n this.body.animate(\n {\n height:\'hide\',\n opacity:\'hide\'\n }, \'medium\'\n );" } }, "linger": "1500" }, "viewsSlideshowCycle": { "#views_slideshow_cycle_main_project_slideshow-page_5": { "num_divs": 10, "id_prefix": "#views_slideshow_cycle_main_", "div_prefix": "#views_slideshow_cycle_div_", "vss_id": "project_slideshow-page_5", "effect": "fade", "transition_advanced": 1, "timeout": 6000, "speed": 700, "delay": 0, "sync": 1, "random": 0, "pause": 1, "pause_on_click": 0, "start_paused": 0, "remember_slide": 0, "remember_slide_days": 1, "pause_when_hidden": 0, "pause_when_hidden_type": "full", "amount_allowed_visible": "", "nowrap": 0, "fixed_height": 0, "items_per_slide": 1, "pager": 0, "pager_type": "numbered", "pager_fields": { "field_project_image_fid": 0, "field_thumbtitle_value": 0 }, "pager_hover": 0, "pager_click_to_page": 0, "pager_weight": 1, "controls": "bottom", "controls_weight": 1, "slide_counter": 0, "slide_counter_weight": 1, "cleartype": 1, "cleartypenobg": 1, "cycle_options": 1, "skin": "default", "action_advanced": 1, "numbered_pager_click_to_page": 0, "thumbnails_pager_click_to_page": 0, "advanced_use_requeueonimagenotloaded": 1, "advanced_requeueonimagenotloaded": true, "advanced_use_requeuetimeout": 1, "advanced_requeuetimeout": 8000, "skin_info": { "title": "Default", "module": "views_slideshow_cycle", "path": "", "stylesheets": [ ] } } }, "activePath": "/" });
//--><!]]>| Comment | File | Size | Author |
|---|---|---|---|
| failed-image-load.png | 38 KB | Greg J. Smith |
Comments
Comment #1
Greg J. Smith commentedAck. The above was clumsily written. The sentence "However, each time I land on one of these slideshow pages, the first slide doesn't load incorrectly – the top 5% of it loads and it hangs and then the slideshow eventually transitions to the next slideshow it is fine thereafter."
should read:
However, each time I land on one of these slideshow pages, the first slide loads incorrectly - the top 5% of the image loads but hangs and then the slideshow transitions to the next slide and is fine thereafter.
Apologies for my brain-mush Saturday description.
Comment #2
pixelz commentedI had a similar issue, but then set up an imagecache preset for the slide images at the size I wanted them and that seemed to solve the problem (for now?)
Hope this helps!
Comment #3
Greg J. Smith commentedIt is not the image size, and I don't think it has anything to do with ImageCache. My previous ImageCache was setting the image width to 100% (sometimes rendering images as large as 1300px wide). I just rejigged it to width= 300px and flushed ImageCache – the same problem still occurs. It seems like it simply can't load the first slide correctly. Every time I refresh the first slide stops loading after about 15% of the vertical height it should occupy.
Comment #4
Greg J. Smith commentedSwitching to 6.x-3.x-dev (June 08th) solved this problem for me. I notice the pager is a bit wonky within it but I can live with some funkiness there.
Comment #5
redndahead commented