Last post Nov 16, 2010 01:57 AM by reza141414
Nov 09, 2010 11:05 PM|Shweta1986|LINK
I have a database where i store image path/Image paths in 'Path' Field and ID in Id field.
Now i want to show this complete database in a grid view. On clicking a particular record in grid view i should be able to download the image/images on client side in a folder using streaming???
Is the above said a feasible solution???
If yes please provide with reference material to achieve the same.
image manipulation in asp.net
image handling in asp.net
Nov 10, 2010 02:15 AM|reza141414|LINK
1.read ur image from db...
2.put ur image in folder in server
3.zip the folder
5.del folder and zip from server
dont foget to mark as answerd
Nov 10, 2010 05:28 AM|Shweta1986|LINK
How to achieve this via code..
Nov 11, 2010 02:03 AM|reza141414|LINK
do u save ur image in ur db or ur host?
i have code to read and write images to db...
but for zip u must search...
Nov 14, 2010 11:00 PM|Shweta1986|LINK
According to my requirement i donot want to zip the images folder. I am dealing with large sized dicom images.I have to simply fetch them at the client side for viewing.
Nov 16, 2010 01:57 AM|reza141414|LINK
u told before that u want users can download all images together....
u can show images to users and let them to save them on thier own pc...
in this case it is too easy...u need gridview or datalist to show images to users...
remember: when server send the file or data to users browser :
browser will try to open it. (for exmaple if u dont install in ur pc Acrobat u cant see pdf file in ur browser but browser will prompt u about downloading the file).
so browser can show images like : png ,jpg,... and if u want that ur users can download only u must change the format of ur file until browsers cant open them and prompt for download...