K
Kenneth Keeley
Hi,
I am creating a news and events page on my Intranet site and I wish to
allow people to upload an image with there news to my site. The text and
image are all stored in an SQL database. I have been successful in uploading
Jpeg files and downsampling them to a size that fits the web site. My next
challange is to convert other common file types (BMP, GIF, TIF) to jpegs as
well. Can this be done using the image object in ASP.net, if so could
somebody show me some sample code. Is it better if I just stop people from
uploading formats other than JPGs. If so can some body show me sample code
of how to stop the unwanted files from being uploaded.
Thanks
Kenneth
I am creating a news and events page on my Intranet site and I wish to
allow people to upload an image with there news to my site. The text and
image are all stored in an SQL database. I have been successful in uploading
Jpeg files and downsampling them to a size that fits the web site. My next
challange is to convert other common file types (BMP, GIF, TIF) to jpegs as
well. Can this be done using the image object in ASP.net, if so could
somebody show me some sample code. Is it better if I just stop people from
uploading formats other than JPGs. If so can some body show me sample code
of how to stop the unwanted files from being uploaded.
Thanks
Kenneth