C
Chris Leonard
Can someone offer some help please.
I have written a guestbook for my site which allows the user to upload
images of themselves. I've restricted the upload to only 50K so I'm not
expecting many large files. My problem comes when I display the image on the
page, if it's a small image then no problem it will fit into the table
cell - but, somepeople have uploaded larger images.
How can I display a large image in a table cell when I don't know the size.
OK, I can always set an image size but if the uploaded image is small then
if you resize it large it look poor.
Any ideas please ?
TIA.
Chris
I have written a guestbook for my site which allows the user to upload
images of themselves. I've restricted the upload to only 50K so I'm not
expecting many large files. My problem comes when I display the image on the
page, if it's a small image then no problem it will fit into the table
cell - but, somepeople have uploaded larger images.
How can I display a large image in a table cell when I don't know the size.
OK, I can always set an image size but if the uploaded image is small then
if you resize it large it look poor.
Any ideas please ?
TIA.
Chris