Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
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
Comment | File | Size | Author |
---|---|---|---|
#49 | views_slideshow-3.x-dev-[2011-12-30].tar_.gz | 33.29 KB | philsward |
Comments
Comment #1
libak CreditAttribution: libak commentedComment #2
libak CreditAttribution: libak commentedComment #3
u210ks CreditAttribution: u210ks commentedhi
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?
Comment #4
cedeweyComment #5
Hazeltree CreditAttribution: Hazeltree commentedI am having the same problem
Comment #6
cedeweyDo 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.
Comment #7
Hazeltree CreditAttribution: Hazeltree commentedNo, I don't have devel - glad yours works now, I'm still stuck
Comment #8
aquaseal CreditAttribution: aquaseal commentedI 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!
Comment #9
vyasamit2007 CreditAttribution: vyasamit2007 commentedTried 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 ?
Thanks!!
UPDATE :
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.
Thanks!!
Comment #10
khan2ims CreditAttribution: khan2ims commentedHave you uploaded the jquery cycle plugin to libraries folder?
Comment #11
redndahead CreditAttribution: redndahead commentedAnyone on this issue still having problems? Any other debugging information that you have? javascript errors? Anything in the error log?
Comment #12
asb CreditAttribution: asb commentedSame issue in 6.x-3.x-dev with views-6.x-3.x-dev.
Comment #13
Marko B CreditAttribution: Marko B commented"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.
Comment #14
asb CreditAttribution: asb commentedSeems to be fixed. Closing. Please reopen if issue still exists.
Comment #15
vivek.saurabh CreditAttribution: vivek.saurabh commentedI have the same configuration, but its not working
Any one found any solution
Comment #16
kristiancloma CreditAttribution: kristiancloma commentedComment #17
kristiancloma CreditAttribution: kristiancloma commentedme too... in ie 7 and 8 show only the first image and the next is a white background only.....
Comment #18
chiko.mukwenha CreditAttribution: chiko.mukwenha commentedit'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.
Comment #19
philsward CreditAttribution: philsward commentedI 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...
Comment #20
ahillio CreditAttribution: ahillio commentedI 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?
Comment #21
Tamanda CreditAttribution: Tamanda commentedThanks 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 )
Comment #22
mcfilms CreditAttribution: mcfilms commentedI 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:
http://drupal.org/node/1411214
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.
Comment #23
julient CreditAttribution: julient commentedDisabling Javascript aggregation did the trick for me.
After that change I cleaned all cache too and the slideshow started working again.
Comment #24
philsward CreditAttribution: philsward commented@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 : )
Comment #25
samwillc CreditAttribution: samwillc commentedHi 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.
Sam.
**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.
Comment #26
samwillc CreditAttribution: samwillc commentedOk, 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 :)
Sam.
Comment #27
BeatnikDude CreditAttribution: BeatnikDude commented• 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
Comment #28
StuddMan CreditAttribution: StuddMan commentedTurning off "Aggregate JavaScript files" on the performance page did it for us as well.
Comment #29
ljay207 CreditAttribution: ljay207 commentedI try #27's suggestion,There is noting help, Do "about->home->about->home" the problem(only show the frist image) still exists.
Comment #30
Po3t CreditAttribution: Po3t commentedI 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:
Comment #31
urlM CreditAttribution: urlM commentedHas 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?
Comment #32
urlM CreditAttribution: urlM commentedI 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.
Comment #33
samwillc CreditAttribution: samwillc commentedI use flexslider with it now, works great, none of these annoying issues.
http://drupal.org/project/flexslider
Sam.
Comment #34
edvanleeuwenStill 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?
Comment #35
robbdavis CreditAttribution: robbdavis commentedI 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...
Comment #36
edvanleeuwenSilly mistake: I had set that only 1 item should be used, in stead of all.
Comment #37
boon4376 CreditAttribution: boon4376 commentedAs 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
Comment #38
guschilds CreditAttribution: guschilds commentedThere are many different issues discussed in this thread, but I am experiencing exactly what samwillc (#25) and Po3t (#30) experienced.
As Po3t experienced in #30, navigating to the image URL of one of the images that is no longer showing displays:
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?
Thanks,
Gus
Comment #39
thenchev CreditAttribution: thenchev commentedIf 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.
Comment #40
fintie CreditAttribution: fintie commentedHi,
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!
Comment #41
fintie CreditAttribution: fintie commentedObviously you should download the jquery-1.7.1.min.js to your folder first
Comment #42
guschilds CreditAttribution: guschilds commentedIf 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!
Comment #43
Po3t CreditAttribution: Po3t commented@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.
Comment #44
samwillc CreditAttribution: samwillc commentedIf this helps, this is from jquery file (not the min version as mentioned earlier) in my libraries folder:
drupal/sites/all/libraries/jquery.cycle/jquery.cycle.all.js
I have found this version works correctly with all browsers.
This post however, has advice to the contrary:
http://drupal.org/node/1411214
So maybe you could try both?
Sam.
Comment #45
BeatnikDude CreditAttribution: BeatnikDude commentedI 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
this version works correctly across browsers for me.
Comment #46
Po3t CreditAttribution: Po3t commentedI 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.
Comment #47
samwillc CreditAttribution: samwillc commentedHave you tried flexslider? You could try that and see if only the first image is shown.
http://drupal.org/project/flexslider
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!
Sam.
Comment #48
castawaybcn CreditAttribution: castawaybcn commentedI 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?
Thanks
Comment #49
philsward CreditAttribution: philsward commentedAlright, 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!
Comment #50
Po3t CreditAttribution: Po3t commentedI 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.
Comment #51
guschilds CreditAttribution: guschilds commentedI 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?
Comment #52
samwillc CreditAttribution: samwillc commented@Po3t.
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?
www.swcarrey.co.uk
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!
Sam.
Comment #53
Po3t CreditAttribution: Po3t commentedWOO!! 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!
Comment #54
Po3t CreditAttribution: Po3t commentedThose 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
Comment #55
castawaybcn CreditAttribution: castawaybcn commented@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.
Comment #56
samwillc CreditAttribution: samwillc commented@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!
Sam.
Comment #57
Po3t CreditAttribution: Po3t commentedSadly, 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).
Comment #58
mcfilms CreditAttribution: mcfilms commented@ Po3t, I am on Firefox 15.0.1 on the Mac and your slide show is transitioning for me.
Comment #59
samwillc CreditAttribution: samwillc commentedSame as #58, works for me too, same firefox version and mac 10.8 lion.
Sam.
Comment #60
mcfilms CreditAttribution: mcfilms commentedI 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:
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?
Comment #61
Po3t CreditAttribution: Po3t commented@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.
Comment #62
constantinejohny CreditAttribution: constantinejohny commentedAs in #29 - changing the images from .png to .jpg seems to make this work. Thanks.
Comment #63
dabellator CreditAttribution: dabellator commentedI 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?
-JB
Comment #64
jeisel CreditAttribution: jeisel commentedPossible 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.
Comment #65
Katrina B CreditAttribution: Katrina B commentedHas 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):
The slideshow still only shows the first item and doesn't cycle through the rest. Any suggestions?
Comment #66
MattO77 CreditAttribution: MattO77 commentedIn 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!
Comment #67
techmsi CreditAttribution: techmsi commentedI 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.
Problem
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?
Comment #68
crutch CreditAttribution: crutch commentedsame issue, had to turn off JS Aggregation under Performance and all is well.
using
- Views Slideshow
- Views Slideshow: Cycle
- libraries/jquery.cycle.all
don't think theme is involved
Comment #69
NIKS_Artreaktor CreditAttribution: NIKS_Artreaktor commentedHey Guys
It is working if json2.js file will be correct:
https://drupal.org/node/1417048
"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!
Comment #70
zeta1600 CreditAttribution: zeta1600 commentedJust 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.
Comment #71
beyond521 CreditAttribution: beyond521 commented#49solved my problem,cycle plugin 2.99 works well,thanks.
Comment #72
fgmSimilar 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:
Comment #73
fgmI 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.
Comment #74
Frank Ralf CreditAttribution: Frank Ralf commentedI 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.
EDIT:
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.
Comment #75
hagershorn CreditAttribution: hagershorn commentedOnce 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!!
Comment #76
Frank Ralf CreditAttribution: Frank Ralf commentedIn 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.
Comment #77
Frank Ralf CreditAttribution: Frank Ralf commentedI 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.
Comment #78
Goeran CreditAttribution: Goeran commentedI´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) (:
Comment #79
Anonymous (not verified) CreditAttribution: Anonymous commentedI 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.
Weird.
I disabled the jQuery update module and the slideshow started working again. It still isn't visible in the backend pages.
Comment #80
Frank Ralf CreditAttribution: Frank Ralf commented@#79
Have you tried different jQuery versions? Some modules work better with older versions.
hth
Frank
Comment #81
ocouraud CreditAttribution: ocouraud commentedI 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.
Olivier
Comment #82
brunox CreditAttribution: brunox commentedHad the same problem and just confirming that #81 worked. just add the jquery.cycle.all.js file in the libraries folder
Comment #83
AlfTheCat CreditAttribution: AlfTheCat commented#81 doesn't work for me, that's the setup I had all the time.
Comment #84
gumdal CreditAttribution: gumdal commented#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.
Comment #85
NickDickinsonWildeSounds 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.