PDA

View Full Version : swiss army image slideshow - fit images



JoXe
01-29-2007, 03:10 PM
1) Script Title:
Swiss army image slideshow

2) Script URL (on DD):
http://www.ikus-entzun.com/tmp/Maquetado/galeriaiglesias.htm

3) Describe problem:
Not really a problem, it works fine, I just wonder if images can be fit to the showing area...:o .
So if I set width and height propertyes to 300 an image of 600x500 could be fully viewed.

Thank's in advance and sorry about my english!!

jscheuer1
01-29-2007, 03:36 PM
The script could be modified to do that but, it wasn't written with that idea in mind. It is better to make or resize an image in you image processing program that is the size that you want it to be displayed at. Browsers can scale images for you but, often this results in a much larger loss in quality than doing it yourself in an image program. Also, since the most common (as in this case) direction desired for browser scaling is to show a smaller image, your page would load faster and require less bandwidth and server space if you just used the smaller sized image that you want. Even if you will be using the larger version - say onclick, the slide show will run much more smoothly and look much better with the smallest (by the number of bytes required) images you can use.

JoXe
01-29-2007, 05:22 PM
I'll do it your way resizing images to the correct size!
Thank you for your reply and a good script!!