barnadave
Forum Replies Created
-
Got it working now with 1.9.6.
Another problem:
[js-slideshow] is fine when using JS slide show.
The thing is, that the JS show is for devices that don’t support Flash, For other systems I’d use the Flash based slide show because of it’s full screen ability…
Though it seems that when “Integrate the flash based slideshow for all flash supported devices” is checked, js-slideshow shortcode does not work.Is there a way to get around this?
Also noticed that your last posted updates are not there anymore.
Hi Michael,
I tried it again without the modification.
I am working on a site which needs the captions.This is one of the galleries. Although those are not the final captions, all of them have something underneath. The fourth pic for example says “Tree”, but is a no-show.
I noticed that my modification works, but makes the script loading all the pictures, which makes it too slow for the visitor.
Thank you for your help.
Got it!
Easypeasy really, just increased the number.. here good for 50 pix…
No more help required.// load image and bind appendImage() to the img load - here we are making sure the loads do not get displaced function loadImage(num){ // check that stack is not empty and we haven't alreay loaded 3 images if(stackLength > 0 && num <= 50) { var img = new Image(); img.src = stack.shift(); img.alt = desc.shift(); //MOD: append alt text stackLength--; // wait to append image until the load is complete jQuery( img ).one('load', function() { appendImage(img, num); }).each(function(){ // IE browser : in case it's already cached if(this.complete) jQuery(this).trigger('load'); }); } } // append image to obj function appendImage(img, num){ // Hide them first, Cycle plugin will show them jQuery( img ).hide(); // Add the image now and resize after loaded jQuery( obj ).append( imageResize(img, s.width , s.height) ); // start slideshow with third image, load next image if not if (num == 50 || stackLength == 0 ) { startSlideshow(); } else { loadImage(++num); // increase index and load next image } }
Hi Michael,
This is partially a good solution for the problem I am having concerning the captions in the Js Slideshow.
I have the captions working, they show, but only for the first three pictures.
Which part do I have to modify, so the number of Captions is infinite.
Thank you!