showing images with asp
am 15.11.2004 19:44:01 von Joseph
Hi,
I'm a new programer with asp, and my question is:
I have an access DB in this DB one field is photograph, in this field is
saved a photograph (image),
When I try to do a report and i want show the field photograph a used
response.write and the name of the field, but I got print some signs like
#$#@# and I can't se the photograph(image).
what I need to do for see the picture, I need to use a different command??
I thing it is so simple but I'm a new programer with asp.
I'll appreciate your help.
Thanks,
Re: showing images with asp
am 15.11.2004 20:20:58 von McKirahan
"Joseph" wrote in message
news:30426BF1-2F97-430F-B3DC-B92286BF7048@microsoft.com...
> Hi,
> I'm a new programer with asp, and my question is:
>
> I have an access DB in this DB one field is photograph, in this field is
> saved a photograph (image),
>
> When I try to do a report and i want show the field photograph a used
>
> response.write and the name of the field, but I got print some signs like
> #$#@# and I can't se the photograph(image).
>
> what I need to do for see the picture, I need to use a different command??
>
> I thing it is so simple but I'm a new programer with asp.
>
> I'll appreciate your help.
>
> Thanks,
Response.BinaryWrite(objRS("Picture"))
http://www.aspfaqs.com/ASPScripts/PrintFAQ.asp?FAQID=172
Storing Images in databases
http://sqljunkies.com/WebLog/sqldude/archive/2004/06/22/3245 .aspx
Re: showing images with asp
am 19.11.2004 19:44:30 von David Aldred
"Joseph" wrote in message
news:30426BF1-2F97-430F-B3DC-B92286BF7048@microsoft.com...
> Hi,
> I'm a new programer with asp, and my question is:
>
> I have an access DB in this DB one field is photograph, in this field is
> saved a photograph (image),
>
> When I try to do a report and i want show the field photograph a used
>
> response.write and the name of the field, but I got print some signs like
> #$#@# and I can't se the photograph(image).
>
> what I need to do for see the picture, I need to use a different command??
>
> I thing it is so simple but I'm a new programer with asp.
>
> I'll appreciate your help.
>
> Thanks,
Hi, I've never needed to do it before myself, but I'm told a good way to do
it is to store the images in a folder, and the in access, have the links
stored, then on your page, call up the link into an tag, and hey
presto, your image. Also saves your db from being so big!