View Full Version : Shrink the image instead of cropping it on Ultimate Fade-In Slideshow

05-11-2009, 03:23 PM
1) Script Title: Ultimate Fade-in slideshow (v1.51)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

3) Describe problem:

<script type="text/javascript">
//new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder "R" use R in quotes for random order)
new fadeshow(fadeimages, 988, 150, 0, 4000, 1)
I realize I have to pass 2 parameters (imageWidth and imageHeight) explicitly to the function fadeshow(). But if the image's dimention is larger than the parameters I passed, it crops part of the image. Is there any way to shrink the image to the container instead of cutting it off.