View Full Version : resize images in Ultimate Fade-in slideshow

06-11-2012, 08:53 PM
1) Script Title:
Ultimate Fade-in slideshow (v2.4)
2) Script URL (on DD):
3) Describe problem:


It seems the script doesn't have resize image function, but I have the situation which I temporary need to enlarge all sample images before I got the full size ones.

So, I modified the javascript at line138:
it was:
var imgdimensions=[$slideimage.width(), $slideimage.height()] //center align image
I changed to:
var imgdimensions=[$slideimage.width(), $slideimage.height('400px')] //center align image

Then the images do enlarged; however, they are not center aligned at first slideshow run, have to wait until slideshow loop back to the beginning, they will become center aligned.

What else place in the script should I modify to resolve this situation?

Thanks a lot.