Go Back   Dynamic Drive Forums > DD Scripts > Dynamic Drive scripts help
Search Dynamic Drive Forums:

Reply
 
Thread Tools Search this Thread
  #1  
Old 07-15-2008, 01:02 AM
dfaust dfaust is offline
Junior Coders
 
Join Date: Jun 2008
Location: Huntsville, Alabama USA
Posts: 6
Thanks: 2
Thanked 0 Times in 0 Posts
Default Preloaded slideshow image size not adjusting

1) Script Title: Preloaded slideshow by Jason Moon

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/index.html

3) Describe problem: I changed my image width/height attributes inside the <IMG> tag to the dimensions of the first image in my slideshow, as directed. It works but it applies that image size to all the images, distorting them since they are different sizes. My question is how do I make my images appear in their actual size?

And thank you in advance for helping me with this.
Reply With Quote
  #2  
Old 07-15-2008, 05:29 AM
jscheuer1's Avatar
jscheuer1 jscheuer1 is offline
No Kidding?
 
Join Date: Mar 2005
Location: SE PA USA
Posts: 18,999
Thanks: 19
Thanked 1,135 Times in 1,121 Posts
Blog Entries: 3
Default

Warning: Please include a link to the DD script in question in your post.


I would recommend:

http://www.dynamicdrive.com/dynamici...army/index.htm

which when properly configured can gracefully handle images of varying dimensions that will fit within the defined area for the slideshow, and will center them within that area.

However, just to be clear, it will not scale images that are larger than the area you define.

Other slide shows might be better for that, but you will basically be relying upon the browser to scale your images. The key in such a situation is to only define the width, or to only define the height. That way most browsers will scale the missing dimension for any given image to the one supplied for it.
__________________
WWWWWWWWWWWW
- John
________________________

Really Show Your Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Reply With Quote
The Following User Says Thank You to jscheuer1 For This Useful Post:
dfaust (07-15-2008)
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:56 PM.

Home - Contact Us - Archives - Link to DD - Top 

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.