C
Chip
I allow users to upload their own images, but I need to display them in a
small space. I can use the src tags to limit the size, but this doesn't keep
the aspect ratio. How can I display any image using a set WIDTH and have the
HEIGHT resize to fit the aspect ration?
Failing any java or cool html that will do this... Is there some .NET code
with which I can read the dimensions of the uploaded image to store them? I
could use this info to calculate my own SRC tags.
small space. I can use the src tags to limit the size, but this doesn't keep
the aspect ratio. How can I display any image using a set WIDTH and have the
HEIGHT resize to fit the aspect ration?
Failing any java or cool html that will do this... Is there some .NET code
with which I can read the dimensions of the uploaded image to store them? I
could use this info to calculate my own SRC tags.