Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in ASP Classic only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
ASP Classic
Constrain images without distorting the aspect ratio
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
connieschurr
New Member
Join Date:
Aug 2010
Posts:
2
#1
Constrain images without distorting the aspect ratio
Aug 19 '10, 06:22 PM
How do I constrain images within a designated size and shape without distorting the aspect ratio.
Connie
azrar
New Member
Join Date:
Nov 2008
Posts:
11
#2
Aug 19 '10, 06:36 PM
That isn't an ASP question, it's an HTML question.
Constrain only one dimension (width or height) and the other will automatically adjust itself to honor the aspect ratio.
Comment
Post
Cancel
connieschurr
New Member
Join Date:
Aug 2010
Posts:
2
#3
Aug 19 '10, 06:51 PM
Thank you, that seems logical but it is not working. the image is stretching to fit the box.
Connie
Comment
Post
Cancel
jhardman
Recognized Expert
Specialist
Join Date:
Jan 2007
Posts:
3405
#4
Aug 24 '10, 11:55 PM
azrar's answer is correct, show us your code and we will try to help and maybe even explain why his solution didn't work.
Jared
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment