Image resizing on the fly in asp.net

前端 未结 4 1599
谎友^
谎友^ 2021-01-14 17:40

For simplicity lets say that I have a web page that needs to display thumbnails of images. The images locations are stored in a database(the images are stored on Amazon S3).

4条回答
  •  佛祖请我去吃肉
    2021-01-14 18:06

    Sure, no problem. There's plenty of resources on the web that show how to dish up an image from a database. So I won't duplicate that here.

    Once you've loaded the image, you can easily shrink it using .NET. There is an example at the following URL. It doesn't do exactly what you are doing, but it does generate thumbnails of an image.

    http://blackbeltcoder.com/Articles/graphics/creating-website-thumbnails-in-asp-net

提交回复
热议问题