开发者

Product Images Thumbnail

I have a product details page and would like to show the product image along several thumbnail pictures of the product, how can I do thi开发者_开发知识库s in asp.net?


.NET has a built-in mechanism for generating image thumbnails:

http://msdn.microsoft.com/en-us/library/system.drawing.image.getthumbnailimage.aspx


Create a generic handler that will receive an unique identifier for the image (to load the image, from a database, filesystem or from the web), resize it within the generic handler with appropriate code (see jonfen's answer, but I've never tried it; or hit google with "c# resize image") and return the resized image

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜