What would be a good way to scale images in c#
Posted
by Younes
on Stack Overflow
See other posts from Stack Overflow
or by Younes
Published on 2010-03-08T12:40:07Z
Indexed on
2010/03/08
13:21 UTC
Read the original article
Hit count: 255
I got a website which contains alot of projects with each project containing a sidebar. In this sidebar it is possible to attach images to a project. The images attached will be shown in a gallery with 3 small thumbs at the bottom and one bigger image at the top of the gallery. The big image will refresh to another image when a visitor clicks on the small thumb @ the bottom of the gallery. The thumbs are no problem, they are shown correctly. My problem is the bigger image at the top of the gallery. The images that get uploaded have a big variety of sizes, while my holder has a width of 239 and height of 179. What would be the best way to scale the images so that they are shwon correctly to the visitors of the website?
© Stack Overflow or respective owner