When im trying to add a view slideshow with images, the first image is the only one which is showed in the view and the image is not changing. Im using Image Cache and Image Field to upload my image to the Node's. When im changing the view Style to Table the images are showed correctly.

My modules are:
Views 2.11
Views Slideshow 2.3
ImageField 3.7
ImageCache 2.0-beta10

Members fund testing for the Drupal project. Drupal Association Learn more


libak’s picture

Priority: Critical » Normal
libak’s picture

Status: Active » Closed (fixed)
u210ks’s picture

I have the same issue, and suppose it's something I'm missing in the configuration settings.
Could you share how did you fix it?

cedewey’s picture

Status: Closed (fixed) » Active
Hazeltree’s picture

I am having the same problem

cedewey’s picture

Do you have the Devel module enabled on your site? With some more poking around I found someone else was able to fix the slideshow by simply disabling the Devel module. I tried it and the slideshow was working fine in all browsers.

Hazeltree’s picture

No, I don't have devel - glad yours works now, I'm still stuck

aquaseal’s picture

I was also having this issue (with and without the devel module enabled). I fixed my issue by unchecking "Aggregate JavaScript files" found in the 'Performance' section (admin/config/development/performance). It will be the last option on that page under the 'Bandwidth optimization' section. Hope that helps!

vyasamit2007’s picture

Tried everything mentioned in #6 #8 but no use. I can able to see the slideshow in Views Preview mode BUT not after I come to actual page/block.

Please let me know if someone resolved this ?


I'm using the latest dev version of D7 module : 7.x-3.x-dev.
Also I tried to do this with alpha version of D7 : 7.x-3.0-alpha1

BUT I couldn't able to make it work.


khan2ims’s picture

Have you uploaded the jquery cycle plugin to libraries folder?

redndahead’s picture

Status: Active » Postponed (maintainer needs more info)

Anyone on this issue still having problems? Any other debugging information that you have? javascript errors? Anything in the error log?

asb’s picture

Version: 6.x-2.3 » 6.x-3.x-dev
Component: API » Cycle
Status: Postponed (maintainer needs more info) » Active

Same issue in 6.x-3.x-dev with views-6.x-3.x-dev.

Marko B’s picture

"Have you uploaded the jquery cycle plugin to libraries folder?" ahhh such a Idiot, didnt read documentation, lost a whole day on this, maybe even more. Ufff.

asb’s picture

Status: Active » Closed (fixed)

Seems to be fixed. Closing. Please reopen if issue still exists.

vivek.saurabh’s picture

I have the same configuration, but its not working
Any one found any solution

kristiancloma’s picture

Version: 6.x-3.x-dev » 7.x-3.0-alpha1
Assigned: Unassigned » kristiancloma
Priority: Normal » Critical
Status: Closed (fixed) » Active
kristiancloma’s picture

me too... in ie 7 and 8 show only the first image and the next is a white background only.....

chiko.mukwenha’s picture

it's also not working for me. both versions of the 7.x branch :'(

I have tried everything mentioned but it's not changing the first slide.

philsward’s picture

I have noticed there can be several reasons the image won't transition.

First off, the version of jquery cycle with views_slideshow, tends to be VERY picky. I believe that views slideshow was designed around jquery cycle v2.99 and there have been several releases since then. Using any version newer than 2.99 gave me all sorts of fits of not wanting to work. The great part about 2.99? It's near impossible to find... I posted a zip of it a while back out on another issue...

Second, I have not been successful in getting the images that are all on one node, to display in the slideshow. However, if I have multiple nodes, each with a set of pictures, I can get the slideshow to work just fine...

Hope that helps in your troubleshooting. I don't know why, but it seems like every slideshow project that has ever cropped up, get's abandoned leaving us all with an unusable project...

ahillio’s picture

I disabled Devel per#6.
I tried the jquery cycle version per#19.
Re: #8 Javascript aggregation is hardcoded because my sites are on Aegir/BOA ...and I haven't figured out how to override that yet.
I had views slideshows working fine up until some time in the last few weeks, so I'm wondering if a module upgrade caused the slideshows to stop working. I'm going to keep trying to disable js aggregation, but considering that the slideshow was working before with aggregation on I don't think that's the problem.

I've tried this on multiple sites with D7.14 and views SLideshow 3.0, viewing in Chromium and Firefox browsers.

Are there any other solutions out there?

Tamanda’s picture

Thanks for your comment! This fixed it (about turning off js compression #8 comment). Only problem is that it is obviously not good for optimisation... however, I'm just glad the darn thing this now finally working (after alot of hair pulling). I love views slideshow cycle. (Using Drupal 7.14, views 3, views_slideshow-7.x-3.0.tar.gz )

mcfilms’s picture

Version: 7.x-3.0-alpha1 » 7.x-3.0
Assigned: kristiancloma » Unassigned

I have installed and used Views Slideshow a dozen times on D6 and D7. But recently on a D6 install the slideshow refuses to transition from the first slide.

After trying a million things I tracked down philsward comment that led to this thread:

I scrubbed the previous version of jquery.cycle from my libraries folder and installed the one in the zip file. Presto it worked. So anyone experience one static image that will not transition may want to try jquery.cycle-2.99.zip

Also, I switched Assigned back to Unassigned. I do not think kristiancloma planned to solve the issue.

Views Slideshow is great, but I wonder why it is sometimes necessary to use jquery.cycle-2.99 and if there is a better way to alert people to this issue.

julient’s picture

Disabling Javascript aggregation did the trick for me.
After that change I cleaned all cache too and the slideshow started working again.

philsward’s picture

@mcfilms regarding the issue I presented, the maintainer updated the install docs to use the 2.81 version (I think... somewhere in the 2.8x realm). I personally still run the 2.99 version along with boost, advagg and whatever other caching stuff there is : )

samwillc’s picture

Hi everyone,

ISSUE: Slideshow works perfectly with a fade effect (firefox), THEN, navigate around my site a bit home>about>home>about>home>about>home, slideshow only renders first image (the controls do as does the titles - just a big blank space where image 2 and 3 should be). I have a title above them to test and that DOES cycle between the node titles at all times. Ironically, I cannot recreate this in IE7/8/9 where IE is usually my nemesis!

Close firefox (which clears cache/history etc...) > reopen > go to my site, slideshow works, navigate around > home, back to first image only!

I'm using controls next/previous but it is the same using a counter so that is irrelevant, my spec is:

Drupal 7.14
sites/all/libraries/jquery.cycle.all.js (v2.99)
Views 7.x-3.3
Views Slideshow 7.x-3.0
Views Slideshow: Cycle 7.x-3.0

I have tried all of the above solutions in this thread and nothing works for me.

I also thought it was maybe a css issue so I commented out all styles associated with the slideshow, expecting to see just the images cycling with no styling. Same issue, after navigating around, only first image renders. Tried disabling ALL my custom css so I was left with a white page with blue links, still the same. Works > navigate > only first image.

My images are one on each node, 3 nodes in total so 3 slides.

The source code is correctly formed on my homepage and includes the URLs to the images, so they are 'there' but just not displaying properly.

The worst bit is that this view is a carbon copy of another slideshow off another one of my sites (multi site setup), and the other one works just fine, cannot recreate this on that site, only on mine!

I just can't see what's going wrong here.

Any ideas? Thanks.


**EDIT** Can I add, just installed chrome and cannot recreate issue, works perfectly.

**EDIT 2** Using firefox 13.0.1. Slideshow works > navigate a bit > back home, slideshow shows only first image, the others disappear (but text title behind image IS still cycling, as are the pager controls) > firefox options, clear cache > refresh page > slideshow works again. www.swcarrey.co.uk - if someone could try it themselves it would really help, maybe it's a problem with my browser.

Flushing the cache on my website doesn't fix it, flushing browser cache does.

samwillc’s picture

Ok, so here goes with the super technical explanation of what was wrong.

Slideshow works = jpg slides

Slideshow doesn't work = png slides (with transparency)

That's it folks, works fine now in all browsers. Perhaps that could be added to the documentation! I do have some hair left so not all bad :)


BeatnikDude’s picture

• Using Views Slideshow 7.x-3.0 only the first slide was displaying.
• Disabling Javascript aggregation under Performance & clearing the cache did the trick for me: ./admin/config/development/performance

StuddMan’s picture

Turning off "Aggregate JavaScript files" on the performance page did it for us as well.

ljay207’s picture

I try #27&#28's suggestion,There is noting help, Do "about->home->about->home" the problem(only show the frist image) still exists.

Po3t’s picture

I was running into the same problem with Firefox v15.0. Safari and Chrome worked fine. However, clearing my caches and restarting Firefox seemed to fix the problem. I also installed v2.99 of jquery.cycle and "compress javascript files" is currently turned on. Everything seems to be working fine since I restarted Firefox.

CORRECTION: Navigating to other parts of the site and returning to the slideshow page brought the problem back again...

I've noticed that there seems to be an issue with Imagecache presets which is causing this problem. I'm not sure why, but when I try to view the images that won't load (by going to the direct URL in the "default/files" directory) the following error message is returned:

The image “http://www.siteurl.com/sites/default/files/styles/large/public/slideshow...” cannot be displayed because it contains errors.

urlM’s picture

Has anyone figured out how to get 7.x-3.0 or any earlier versions of views slideshow to work with "Aggregate Javascript files" turned on?

urlM’s picture

I finally got the js aggregation to work with views slideshow per http://drupal.org/node/1290676

All I had to do is paste the json2.js code from https://github.com/douglascrockford/JSON-js/blob/master/json2.js into the json2.js file located at sites/all/libraries/json/json2.js

There was HTML appearing in my json2.js file before I did this apparently because I right-clicked and saved the file that way.

samwillc’s picture

I use flexslider with it now, works great, none of these annoying issues.



edvanleeuwen’s picture

Still no luck: correct version (2.88), caches emptied, Javascript aggregation turned off. Both FF and IE do not display another image than the first. It does not cycle.

The same configuration exists on another site which works perfectly. Any suggestions?

robbdavis’s picture

I was having this problem and realized I had down loaded and installed jquery.cycle.lite.1.1.min.js instead of jquery.cycle.all.latest.min.js . It was an easy mistake to make because the first option (lite) was at the top of the list on the download page.

Once the right .js file was added to the libraires/jquery.cylce directory , the slide show worked....

Hope this helps someone...

edvanleeuwen’s picture

Silly mistake: I had set that only 1 item should be used, in stead of all.

boon4376’s picture

As of 9/20/2012 with the jquery cycle library installed, the latest versions of drupal 7, views slideshow and views - I was having this issue.

#8 solved my problem. http://drupal.org/node/975604#comment-4745790

guschilds’s picture

There are many different issues discussed in this thread, but I am experiencing exactly what samwillc (#25) and Po3t (#30) experienced.

  1. Navigate to the site with a slideshow in Firefox.. all images should work fine
  2. Navigate elsewhere on the site for roughly 10 seconds
  3. Navigate back to page with a slideshow. Some images are broken

As Po3t experienced in #30, navigating to the image URL of one of the images that is no longer showing displays:

The image "XYZ (url removed)” cannot be displayed because it contains errors.

I have even found a few instances where bugs were filed with Firefox: bug 787754 and bug 787766. They have the same problem. As both of their websites are Drupal sites, it is hard to know whether this is actually a Firefox bug.

We are using Drupal 7.15, Views 7.x-3.5, and Views Slideshow 7.x-3.0.

Unfortuantely, samwillc's suggestion in #26 doesn't help us as all of the original images are already .jpg.

Unlike the original issue, this has nothing to do with disabling JavaScript aggregation.

Po3t, did you have any luck with this?


thenchev’s picture

If some of you still have the problem and tried out every possible solution mentioned above, here is what worked for me...

Check the image you are using for the slide if you are using the "none (original image)" style. If yes, create an image style (configuration -> media -> image styles -> add style) and select that style in the views for the image style.

fintie’s picture


I had the same issues before, here is my solution:

Check the file of yourtheme.info, replace the old version of jquery scripts to scripts[] = js/jquery-1.7.1.min.js.

Then the slideshow appeared!

fintie’s picture

Obviously you should download the jquery-1.7.1.min.js to your folder first

guschilds’s picture

If anyone has the issue described in #30 and #38 (which isn't the same as the original issue, nor do these fixes apply), the only I was able to fix it is to shrink the size of the image in my Image Style from 1186x575 to 950x460.

I don't know if it is a bug with Firefox (how it caches large images?), a tiny bug in image.module that only affects Firefox (if so, there are no issues filed), or what, but I wish I knew. Uploading perfect 1186x575 images and not using an Image Style did not fix it, so it shouldn't be a bug with that. Also, there are bugs filed with Firefox (see #38), but those seem to be only from Drupal developers.

Good luck!

Po3t’s picture

@guschilds - No luck on my end. One of those mozilla bug reports you listed was mine. I've been completely unable to figure out the problem. Nothing seems to make a difference. I suspect it's a browser issue though, as I never had any problems with Views Slideshow until I upgraded Firefox to v15.0 from v14.0. It was only after that upgrade that the problem began. Honestly, Firefox has been pissing me off as of late. It's turning into the new IE6.

In regards to #42 - That doesn't make a difference for me. My image styles are in the 600 x 400 pixel range.

samwillc’s picture

If this helps, this is from jquery file (not the min version as mentioned earlier) in my libraries folder:


 * jQuery Cycle Plugin (with Transition Definitions)
 * Examples and documentation at: http://jquery.malsup.com/cycle/
 * Copyright (c) 2007-2010 M. Alsup
 * Version: 2.9999 (13-NOV-2011)
 * Dual licensed under the MIT and GPL licenses.
 * http://jquery.malsup.com/license.html
 * Requires: jQuery v1.3.2 or later
;(function($, undefined) {

var ver = '2.9999';

I have found this version works correctly with all browsers.

This post however, has advice to the contrary:


So maybe you could try both?


BeatnikDude’s picture

Title: Views Slideshow: Only first image shows » Views Slideshow: Only first image shows w/ "Aggregate JavaScript files" enabled

I just retested this on: views slideshow 7.x-3.0
• Problem: Views Slideshows only shows the first image when "Aggregate JavaScript files" is enabled under Performance settings.
• Solution: #8: on the performance page: admin/config/development/performance UNSELECT "Aggregate JavaScript files"

Unless someone knows how to enabled "Aggregate JavaScript files" and still get the images in a slideshow to cycle I would suggest a patch to disable "Aggregate JavaScript files" and/or to provide a warning on the status report.

I think that both the firefox issue and the image size/format issues should start a new thread.

Similarly to #44: from drupal/sites/all/libraries/jquery.cycle/src/jquery.cycle.all.js

 * Version: 2.97 (14-FEB-2011)

this version works correctly across browsers for me.

Po3t’s picture

I tried jquery cycle versions 2.97, 2.9999, 2.9999.6 and several other versions in between. Nothing makes a difference. All of the images after the first one disappear in Firefox v15. I'm still assuming that this is a FF issue.

samwillc’s picture

Have you tried flexslider? You could try that and see if only the first image is shown.


You just choose 'flexslider' instead of 'cycle' in the little dropdown once it's installed. I have had the problem you describe a while back and it was very frustrating. Worse is that I can't remember what the cause was!


castawaybcn’s picture

I have tried all options here (except for flexslider), but none seem to work for 6.x with views 3 and javascript aggregation. Did anybody find a solution to this? If you are using a js file that works, would you please be so kind as to attach it?


philsward’s picture

Alright, to anyone having "issues" with this ON DRUPAL 7, I have attached an older dev version of Views Slideshow, that "should" work the way you might expect. I don't know what was changed, but I do know that development versions in the early parts of 2012, all the way up to the last dev release, caused me all sorts of headaches. For this reason, I reverted back to an older version and haven't looked back.

I have attached the dev version from Dec-30-2012 and use it exclusively on my sites.

Also, make sure you are using the jquery.cycle v2.99 or earlier with this dev. I had all sorts of issues with versions later than 2.99. (ie 2.9999 etc.) You can pick up 2.99 at: http://drupal.org/node/1411214 (For some reason, the 2.99 version isn't listed on the jquery.cycle site... Only the 2.98 and 2.999+ versions)

If the dev version provided works as expected, you might report back here and let others know.


The other thing I'll mention is that "if" you are trying to do a slideshow from only ONE node (you've uploaded 10 pictures on one node and want to do a slideshow from all of the pictures on that node), you will probably have problems. Views Slideshow only "likes" to work when you have multiple nodes that have pictures. If you DO only have one node, the workaround I have found is to:

1) sort "global - random"
2) For the image field, uncheck "Display all values in the same row" under "MULTIPLE FIELD SETTINGS"
3) Set the PAGER to only show ONE item.

I think that's about all I've figured out in my quest to get this module to work... Good Luck!

Po3t’s picture

I just gave FlexSlider a whirl, but it was even worse. I used it through Views, both as a standalone views format as well as a Views Slideshow "slideshow type". In both cases, the slides never even displayed in FF v15.0 (not even the first slide, just nothing - whereas all other browsers displayed the slides fine). I'm more convinced than ever now that FireFox's latest browser update is the problem.

guschilds’s picture

I agree with #45 that this Firefox issue should be a separate issue, but it is not necessarily views_slideshow issue. :/

Po3t, Firefox 16 was just released. Have you upgraded and tried your slideshows in it?

samwillc’s picture


My version of Firefox (on mac Lion 10.8): v15.0.1

This is my one (flexslider + views slideshow). Evens works responsive (resize window). Sure it's not your css?


Aggregate JavaScript files is CHECKED (on) on my site under performance settings.

CSS is not aggregated so feel free to have a nosey about, maybe it will help. Of course, let me know if it isn't displaying correctly so I can address the issue!


Po3t’s picture

WOO!! I think I got it figured out. I noticed that the images I uploaded had spaces in the name and so the image files were being linked to like this: gallery/services/Braced%20Tilt-up%20Panels.JPG

I had a hunch and was right. Apparently those spaces were breaking the image links in Firefox but no other browsers. Why? I have no clue. So I decided to install the File Field Paths module (http://drupal.org/project/filefield_paths), edited the Content Type's "Image" field and selected "Cleanup using Pathauto" under the "File Name Options" section. Of course Pathauto has to be installed as well (http://drupal.org/project/pathauto). Pathauto automatically adds a dash in the place of spaces. Once I updated everything, all of the images started loading correctly using Views Slideshow.

SOOOO stoked that I found a solution to this problem.

@Samwillc - Nice site. You're a solid designer. Unfortunately I found FlexSlider a little too limiting for my tastes. For one, I couldn't get other fields (like the Content: Title) to display along with the image. It could be that I simply haven't played around with it enough. Granted, it does have one really useful feature and that it integrates with Adaptive Image Styles which is great for responsive theming. I'll consider using it for other projects.

Anyway, I hope my solution solves the problem for others. Cheers!

Po3t’s picture

Those of you with the original issue of "Only first image shows w/ "Aggregate JavaScript files" enabled"

See the solution found here: http://drupal.org/node/1417048

I finally got the js aggregation to work with views slideshow per http://drupal.org/node/1290676

All I had to do is paste the json2.js code from https://github.com/douglascrockford/JSON-js/blob/master/json2.js into the json2.js file located at sites/all/libraries/json/json2.js

There was HTML appearing in my json2.js file before I did this apparently because I right-clicked and saved the file that way.

castawaybcn’s picture

@Po3t Thank you, that worked!
If any of you have trouble copying the original contents of the json2.js, the link to the raw file was useful to me: https://raw.github.com/douglascrockford/JSON-js/master/json2.js. Download the file and override your existing sites/all/libraries/json/json2.js with the new one.

samwillc’s picture

@Po3t, bet you're glad that's sorted!

Have you got a link to the offending slideshow so I can have a nosey? Always interested to see how other people put drupal sites together seeing as there are so many ways to do it!


Po3t’s picture

Sadly, I jumped the gun. It worked fine for a bit, but the problem is back again. I even upgraded to 16.0.1 and the issue is still happening. I think it has to be a Firefox issue at this point. I don't know what else to do. I've opened a separate issue here: http://drupal.org/node/1809568

The offending slideshow for me can be found here: http://adbeng.tekalsites.com/

The site's still in development (Tekalsites.com is my dev server) as I'm waiting on my client to provide me with additional info (and I still have to style the About page).

mcfilms’s picture

@ Po3t, I am on Firefox 15.0.1 on the Mac and your slide show is transitioning for me.

samwillc’s picture

Same as #58, works for me too, same firefox version and mac 10.8 lion.


mcfilms’s picture

I do see two weird errors in Web Console:

[14:10:19.442] Error in parsing value for 'display'. Declaration dropped. @ http://adbeng.tekalsites.com/sites/all/modules/views_slideshow_xtra/view...

The css reads:

.views-slideshow-xtra-overlay-row {
  display: absolute;
  min-height: 10px;

What is display: absolute? Shouldn't it be position: absolute?

Since the declaration is dropped, it probably isn't the cause. But this second error says:

[14:10:20.487] TypeError: $("body", context).once is not a function @ http://adbeng.tekalsites.com/sites/default/files/js/js_uwrfBOJCFVq42muTM...

Unfortunately js is aggregated so I'm not sure if this is related in some way. But it is taking place inside omegaMediaQueries. Do all the people having issues with the slides not transitioning use the Omega theme?

Po3t’s picture

@mcfilms - I'm not using Views Slideshow Extra features for my slideshow. The module is installed, but turned off. Not sure what that CSS is doing exactly, but it shouldn't be affecting anything.

That being said, you may be on to something regarding the Omega Theme. It's possible that is indeed what could be causing this problem. I didn't even think of that. Also, keep in mind that your first visit to the site should show everything fine. You have to navigate around the site a bit and then return to the front page, eventually it will break.

constantinejohny’s picture

As in #29 - changing the images from .png to .jpg seems to make this work. Thanks.

dabellator’s picture

I don't know if you all found a solution, or if this thread is being abondoned, but I wanted to see if there are any new developments!

The issue that I see is that the other slides continue to have a display: none. On my site, the opacity changes, but the css seems to block it. Did I make a mistake somewhere? I'm wondering if the .js isn't properly configured since it isn't affecting the .css.

Any ideas?

jeisel’s picture

Possible Solution for someone -

The slideshow worked in Preview, but not on the page.

Turns out, there was a conflict with the Text Resize module 7.x-1.x-dev - it had been automatically and wound up conflicting with Views Slideshow and Module Filter.

Hopefully that helps someone.

Katrina B’s picture

Has it been confirmed that this is a problem with the Omega theme? I'm using an Omega subtheme I created; I'm trying to use Views Slideshow, but it only shows the first slide. Here's what I've tried so far (I tried these one at a time):

  • Updated jQuery (cycle) file (in "all/libraries").
  • Added json file (in "all/libraries").
  • Turned off caching for JavaScript.
  • Cleared caches.

The slideshow still only shows the first item and doesn't cycle through the rest. Any suggestions?

MattO77’s picture

Assigned: Unassigned » MattO77
Priority: Critical » Major

In response to the original name of this log... I can only get the Views slideshow functioning under Chrome Firefox and Opera. IE9 and all previous versions will only display the first slide!!

My file names do have the percent signs (spaces) in them so I tried the fix with FileField Paths, but it did little to nothing. Also, my JavaScript Aggregation has never been turned on (site still in dev mode) so that wasn't the case...

It's funny you all are discussing Firefox being the odd one out, while as of today (2/2/2013) Firefox gives me no problems and IE9 is the stinker...

I don't know what else to do other than give up on IE9 for now. Please post any updates/fixes for this issue!

techmsi’s picture

Assigned: MattO77 » Unassigned

I built a slideshow of content as a block.

Core 7.22, Views 7.x-3.7, Views Slideshow 7.x-3.0, Views Slideshow: Cycle 7.x-3.0, Libraries 7.x-2.1

It's fine in Safari, Chrome & Firefox using MAMP.


It cycles in Chrome & Firefox using Pantheon, Panopoly, Responsive Bartik but only displays the first item in Safari.
Upon inspection of the code, it outputs all the blocks but will not cycle through them.
It cycles through when I look at the preview under Views.

I tried changing the theme to Bartik but that didn't work either.

Any ideas?

crutch’s picture

same issue, had to turn off JS Aggregation under Performance and all is well.


- Views Slideshow
- Views Slideshow: Cycle
- libraries/jquery.cycle.all

don't think theme is involved

NIKS_Artreaktor’s picture

Hey Guys

It is working if json2.js file will be correct:

"There was HTML appearing in my json2.js file before I did this apparently because I right-clicked and saved the file that way."

views slideshow works correctly with JS aggregation!

zeta1600’s picture

Just in case...
I have all the latest modules and plugins.

I didn't have "Aggregate Javascript files" on. After reading the above, I thought, well, why not turn it on and then back off... holy smokes... it worked. Imagine that. oy vay.

UPDATE... after tweaking settings in views slideshow, lost the transition again and my solution above didn't work anymore.

beyond521’s picture

#49solved my problem,cycle plugin 2.99 works well,thanks.

fgm’s picture

Similar here: site used to work, but after updating views to 3.7 (and a bunch of other modules to their latest versions), I'm having this problem too: the slideshow works in the views UI preview, but not when displayed withing a block or page display.

Changing the theme to Seven like in the Views UI does not fix the problem, so this does not appear to be a theme issue.

Something I noticed is that the error appears to happen in Drupal.viewsSlideshowCycle.load() when invoking $(settings.targetId).cycle(settings.opts) : in $.fn.cycle, where it is implemented, this.length is 0, and this.selector is "#undefined" which seems strange. Of course, it ends up with a logger error: "[cycle] terminating; zero elements found by selector ", which probably explains why it does not rotate, since it doesn't find anything.

This happens when using either Cycle 2.88 or 3.03 with either jQuery 1.7 or 1.8. When using 2.88 with jQuery 1.5 or plain core jQuery 1.4.4, the problem is a bit different, jQuery throws this error:

Uncaught Syntax error, unrecognized expression: # jquery.js?v=1.5.2:869
deferred.resolveWith jquery.js?v=1.5.2:869
jQuery.extend.ready jquery.js?v=1.5.2:420
DOMContentLoaded jquery.js?v=1.5.2:1055
fgm’s picture

I should probably add that the symptoms are identical in Firefox 25, Opera 12.16, and Chrome 31 so this is proably not a browser issue either.

Frank Ralf’s picture

I can confirm #72 and #73. I don't get Views Slideshow to work, not even in preview. After having tried every suggested solution from this thread to no avail I'm stuck. Will investigate further along the lines from #72.

The following HTML gets created for all slides on the slideshow page but the images never load so I suppose it's indeed a JavaScript issue.

class="views-slideshow-cycle-main-frame-row views_slideshow_cycle_slide views_slideshow_slide views-row-1 views-row-odd" 
style="position: absolute; top: 0px; left: 0px; display: none; z-index: 8; opacity: 0;">
hagershorn’s picture

Once I navigate away from the galleria instance it won't even show the first picture, never mind move from it in IE9. I am rapidly going bald!!

Frank Ralf’s picture

In addition to #74 I found out that the slides are actually happily rotating along, only that they consist only of the empty DIVs mentioned in #74. No view row seems to make it into the DIVs - whether image or any other content. So the problem seems to be with the views connection not something related (only) to images. Will investigate further.

Frank Ralf’s picture

I finally found the solution to the problem of the empty slide frames:

The file "/sites/all/modules/views_slideshow/contrib/views_slideshow_cycle/theme/views-slideshow-cycle-main-frame-row-item.tpl.php" had the wrong file extension .ph0000644. Restoring the correct file extension .php solved the problem, see #2155533: Warning: views-slideshow-cycle-main-frame-row-item.tpl.php file missing.

Goeran’s picture

Issue summary: View changes

I´ve had this problem too. Only the first image in a slideshow is shown. I haven´t read everything above, but I turned off my Adblock Plus software and the problem was gone - must be some bug in Adblocker. (Windows7, IE11, Adblock Plus latest version) (:

jimlongo’s picture

I just started having this problem. Everything to do with the slideshow View is also gone from the backend, but it still exists in the source.
I disabled the jQuery update module and the slideshow started working again. It still isn't visible in the backend pages.

Frank Ralf’s picture

Have you tried different jQuery versions? Some modules work better with older versions.


ocouraud’s picture

I had the same issue and i just solved it:
i had 3 files in sites\all\libraries: jquery.cycle.all.js, jquery.cycle.min.js and jquery.cycle.js
remove all those files and create a sub diretory: sites\all\libraries\jquery.cycle and copy the jquery.cycle.all.js file in it.
Now it works good.

brunox’s picture

Had the same problem and just confirming that #81 worked. just add the jquery.cycle.all.js file in the libraries folder

AlfTheCat’s picture

#81 doesn't work for me, that's the setup I had all the time.

gumdal’s picture

#19 first part worked for me! I had a working website where images are rotated successfully, I was trying with the latest jquery cycle plugins to see if there is any new features / improvements, but no matter what I try, always the images are not rotated. I then zipped all Jquery cycle, carousel libraries from my working site into the development site and things started working automatically.

NickWilde’s picture

Status: Active » Closed (cannot reproduce)
Issue tags: -imagecache, -image, -views, -images, -Imagefield, -slideshow, -image cache, -lists, -views slideshow

Sounds like multiple different issues in this thread, sounds like most are related to missing/incorrect version/places for asset files. The documentation has been updated/improved and a drush install script has been added, so hopefully that will reduce that.