View Full Version : Swiss Army knife pictures being cut off

08-19-2014, 01:26 AM
I'm using this excellent plug in and love it. But I find images get cut off from time to time. A browser refresh usually cures it. I've altered the programming a bit so that the list of pictures comes from a database, so that it can be edited by my client.

You can see the website at http://www.artleasecanada.ca/new the slide show is on the left. If you scroll around here and there, you'll find that the slide show starts to cut off some vertical pictures, about halfway down.

Any help appreciated.

08-19-2014, 08:03 AM
a number of your images are higher than the parent DIV

set the maximum height in the configuation

var slides=[];

//optional properties
slides.no_descriptions=0; //use for no descriptions displayed
slides.pause=0; //use for pause onmouseover
slides.image_controls=0; //use images for controls
slides.button_highlight='#cccccc'; //onmouseover background-color for image buttons (requires image_controls=1)
//slides.specs='width=1200, height=950' //global specifications for this show's new window(s)
slides.random=1; //set a random slide sequence on each page load
slides.manual_start=0; //start show in manual mode (stopped)
slides.delay=3000; //speed of slideshow-- exposure is 3 secs
slides.height=400; //the height if the largest image
//slides#.target will set a target for a slide group, will be overridden by slides#[#][3], if present
//slides#.specs will set new window specifications for a slide group, will be overridden by slides#[#][4], if present
//slides#.fadecolor will set fading images background color, defaults to white
//slides#.no_controls will set a slide show with no controls
//slides#.random will set a random slide sequence on each page load
//slides#.delay=3000 will set miliseconds delay between slides for a given show, may also be set in the call as the last parameter
//slides#.jumpto=1 will display added controls to jump to a particular image by its number
//slides#.no_added_linebreaks=1; use for no added line breaks in formatting of texts and controls

//use below to create a customized onclick event for linked images in a given show:
//slides#.onclick="window.open(this.href,this.target,'top=0, left=0, width='+screen.availWidth+', height='+screen.availHeight);return false;"

08-20-2014, 03:52 AM
Thanks-- I hope that works. It sends the caption down a bit further, but as the cutting-off effect was inconsistent I'm not sure this is the cause. I'll let you know, but I appreciate the quick response.