Last post Apr 01, 2009 07:16 AM by Wyerarch
Mar 30, 2009 05:40 PM|rahel_kareem|LINK
We have a news website, in the main page there are headline of newses and their images(small), and when a user clicks a headline it takes user to another page to view it, but the image of the news appears much bigger than the one in the main page and usually
reaches 50 KB, but because the main page contains alot of these images usually there is a big load on the page, so is there any way to change the same images in the main page ( maybe by reducing their qualities) to make their size less than its actual size..
i dont want to have two copies of same images
Apr 01, 2009 07:16 AM|Wyerarch|LINK
Yes. There are ways to do this. There a few methods to do it, such as creating a Bitmap object from a file, and then creating a new Bitmap object from this with a new size.
The other option is to use something that someone else has already done! e.g.