Ajax loading support
highvoltage - October 19, 2008 - 17:33
| Project: | Views Slideshow |
| Version: | 6.x-2.x-dev |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed |
Description
Can views slideshow take advantage of views 2 ajax support, so that there isnt a referesh every time the image changes?
Thanks for reading.

#1
First of all, Views Slideshow doesn't refresh the page each time the image changes. That wouldn't be much of a slideshow. It loads all of the elements of the slideshow on a page and then rotates through them so that only one is showing at a time.
But you bring up a good point, and I was wanting to see what Aaron thought of this: what if Views Slideshow on Drupal 6 somehow made use of Views 2's Ajax pagination? Create a View that is meant that only shows 1 node per page and uses an Ajax pager. Then rotate on a timer between each node. This would be useful for a site I'm working on where we want basically a Views Slideshow, but want little buttons for slide 1, 2, 3, 4, etc. to allow users to go between them. Basically a Views Slideshow version of the Flash thing here: http://www.freepress.net . Curious of your thoughts on this.
#2
Changing to feature request.
#3
This would definitely be interesting hopefully we can see this in a future release.
#4
I'd like to have ajax loading a feature. It's actually a must feature for video slideshow.
In my case, I have 4 video nodes (with emvideo cck) on slideshow, when hover on thumbnails it displays the youtube video as preview.
The problem is, our QA guy find out that, when you clicked 'play' on video 1, it plays. Then you hover to the 2nd thumbnail, video1 is hidden, but it still plays! So if you preview/play video 2, you will hear both of them at the same time, which is bad for the user's experience.
I had to retreat back to use image only preview. But if it is loaded through AJAX instead just show/hide, I can make the video slide show in preview mode.
#5
removed thanks to asak's comment. Sorry, I can be a real space cadet at times.
#6
subscribe
#7
@highvoltage: that's another project.. it's not Views Slideshow related...
subscribing.
#8
+1
#9
+1
#10
This is an important feature to add. Now, all the slideshow pictures are loaded with the page, which limits the slideshow to a restricted number of pictures, unless you don't care about a huge page download size.
#11
#450562: Disable caching of slideshow frames marked as a duplicate of this issue.
#12
Subscribing
#13
Bumping version, subscribing and thinking.
We would need a new plugin, like singleframe and thumbnailhover, that handles this.
It would require that one set the number of items to display to 1 and then somehow use views pager functionality to pull in the additional items. The additional page would be pulled in when the previous slide displays to keep a smooth slideshow.
Would be interested in seeing someone take a whack at it.
#14
Subscribing
#15
As a work around: Create a view with about 30 items per page, with sorting set to random, and then make a slideshow in that view with sorting set to random - this will only work in single frame mode, but since it'll be pretty rare for anyone to hang around on one page for thirty frames of a random slideshow, no-one's going to notice that it's repeating after every 30 slides, and the slides will change next time they visit the page anyway.
#16
I'd like to have the ajax views support in order to create views like the attached file.
#17
AJAX loading of slides would be awesome. I'd still like to be able to preload some slides though. So if you could configure the number of slides that are preloaded and then the number of slides that are loaded on each AJAX call that would be ideal. Like you could initially load 5 slides, then when it gets to slide number 3 it does an AJAX request getting the next 3 slides... So the slideshow would be continuous (not lag during AJAX request), and you would also not have to do a separate request for every slide.
#18
Subscribing
#19
Subscribing.
Preconfiguring the number of preloaded items is a must. As far as i know the .js requires at least 2 items, before slide is activated.