|
 |
asp_web_howto thread: uploaded image sizes
Message #1 by "clover c" <callisto137@h...> on Tue, 31 Jul 2001 08:03:38 +0000
|
|
Hello all,
I'm in need of some help/suggestions concerning uploaded images and display
size.
I'm working on an intranet activities site atm and when a person enters a
new event they are allowed to upload an image that is associated with the
event which is then displayed when a search through the activities is
carried out.
My problem is getting some uniformity with image sizes. What I'm looking
for is a clever alternative to saying "Please don't upload whopping great
images cos it's going to ruin my beautifully laid out table". At the same
time, tho, I can't set a fixed size for the image as there is no way that
every uploaded image is going to look half decent at a certain width &
height.
Does anyone have any suggestions as to how I can handle this mess?!
Thanks in advance,
Clover
Message #2 by "George Draper" <gdraper@c...> on Tue, 31 Jul 2001 08:49:10 -0400
|
|
If you want to put the onus on the user, add two input boxes: one for
image width and one for height. Then put a note on the maximum for each.
The user will need to fill in the boxes with the correct image size and
then you can validate the maximums before uploading. That way you can use
the data to correctly size the image for best and fastest display.
- George
>>> callisto137@h... 07/31/01 04:03AM >>>
Hello all,
I'm in need of some help/suggestions concerning uploaded images and display
size.
I'm working on an intranet activities site atm and when a person enters
a new event they are allowed to upload an image that is associated with
the event which is then displayed when a search through the activities is
carried out.
My problem is getting some uniformity with image sizes. What I'm looking
for is a clever alternative to saying "Please don't upload whopping
great images cos it's going to ruin my beautifully laid out table". At the
same time, tho, I can't set a fixed size for the image as there is no way
that every uploaded image is going to look half decent at a certain width &
height.
Does anyone have any suggestions as to how I can handle this mess?!
Thanks in advance,
Clover
|
|
 |