G
Guest
Hi;
I have to store final reports for later viewing. If the reports are html and
have images I also have to have a way to return the images too.
What is the best way to do this? I was thinking that I store each image in
the DB, use the PK of the image as part of it's "filename" and the <img ...>
have a name like http://www.domain.com/website/dynamicimages/12345.jpg and
then when there is a request to dynamicimages/* it goes to a IHttpHandler
class I write that pulls the image from the database and returns it.
Or I use http://www.domain.com/website/dynamicimages/12345/1.jpg where 12345
is the pk for the report and the images in it are numbered 1.jpg, 2.jpg, etc.
Is this the best way to do this?
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
I have to store final reports for later viewing. If the reports are html and
have images I also have to have a way to return the images too.
What is the best way to do this? I was thinking that I store each image in
the DB, use the PK of the image as part of it's "filename" and the <img ...>
have a name like http://www.domain.com/website/dynamicimages/12345.jpg and
then when there is a request to dynamicimages/* it goes to a IHttpHandler
class I write that pulls the image from the database and returns it.
Or I use http://www.domain.com/website/dynamicimages/12345/1.jpg where 12345
is the pk for the report and the images in it are numbered 1.jpg, 2.jpg, etc.
Is this the best way to do this?
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm