I have a question about how should I handle image files of various sizes (<1 mb upto 15mb) within a mobile application that I am developing? Currently, I am displaying the image full size using a ASHX file inside of an ASP Win Form using the ASP Image Class.
So basically what I would like to know how should I go about dealing with these sometimes vastly different image sizes.
Thanks in advance!
Update
Ok, after the very helpful comments yesterday I did some further research and I think I may have come up with a plan of action but I am still not 100%. Would copying the image to be displayed and then scaling it on the server to whatever dimensions I decide and then displaying it in the browser be a better way of “handling” images especially in an mobile browser?
Thank you all in advance for your CONSTRUCTIVE answers!
Ok, I found a possible solution here
Here is the code on my ASHX file:
and the code on my Default.aspx form:
and here is how a 9mb (2848×4288) picture is displayed: