Reply
Old 07-01-2009, 07:37 AM sizes of images
Junior Talker

Posts: 1
Trades: 0
I am not sure if this belongs here or in Programming, but....

I am writing my site that has a bunch of pictures.
The thing is that I am making it as dynamic as possible for my client.
I am trying to make it that all they have to do is change, add, delete pictures from the folder on the server and the page will act accordingly.

Ok, that works fine in ASP.

If I just set the tag as <img src=1.jpg> it shows up huge, even though when I check the dimensions of the file in Windows, it is what I need it to be.

my problem is that I don't know the dimensions of the picture, as sometimes they will be Portrait and sometimes Landscape, so I can not set them in the code.

I hope I was clear enough.

Any thoughts.
aliester is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 07-01-2009, 11:32 AM Re: sizes of images
LadynRed's Avatar
Super Moderator

Posts: 8,823
Location: Tennessee
Trades: 0
If you're not doing this site in .Net, then you'll need some other scripting, PHP at least, javascript MIGHT do it.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to sizes of images
 

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.11177 seconds with 13 queries