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 this in asp.net?
Asked
Active
Viewed 282 times
0
-
Possible duplicate of [Create thumbnail image](https://stackoverflow.com/questions/2808887/create-thumbnail-image) – Jul 01 '17 at 14:45
2 Answers
1
.NET has a built-in mechanism for generating image thumbnails:
http://msdn.microsoft.com/en-us/library/system.drawing.image.getthumbnailimage.aspx

feathj
- 3,019
- 2
- 22
- 22
0
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

citronas
- 19,035
- 27
- 96
- 164