1

I want to resize an image from a given path before it will displayed in a <asp:Image>-Tag on the webpage. Is there a way without first storing the resized image "thumbnail"?

greez marc

3 Answers 3

1

I've a blog post about resizing images in ASP.NET/C#. You can check it here:

http://mnour.blogspot.com/2007/12/image-resizing-using-c.html

Sign up to request clarification or add additional context in comments.

1 Comment

very useful to resize an image without quality loss. It worked with a combination of your link and the the answer from Simon Thompson. This link below was also very helpful. link
1

If you wanted could use a HTTP handler to do it - see http://www.codeproject.com/KB/aspnet/ImageResizeWithHttpModule.aspx

1 Comment

Not bad.. but I not so happy with VB.Net. Is there a solution written in C#?
0

Could always point the img tag to an aspx page which reads in the image, resizes and writes the bytes to the response stream and settings the mime type

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.