Monday, March 19, 2012

image control file share

I need to add an image in a report, the images are stored on a file share, i
get the path to the image from a database.
How do I set the image control properties to read from the file share. I
tried setting the Source as External and then put the unc path in the Value
property. But that did not work.
MikeHave you considered storing the images in your database? You could use a
varbinary field. It's easier to manage pictures that way IMOHO. And it works
really well in SSRS.
Alain Quesnel
alainsansspam@.logiquel.com
www.logiquel.com
"Mike Read" <mread@.brunsco.net> wrote in message
news:OovejNEOIHA.2064@.TK2MSFTNGP06.phx.gbl...
>I need to add an image in a report, the images are stored on a file share,
>i get the path to the image from a database.
> How do I set the image control properties to read from the file share. I
> tried setting the Source as External and then put the unc path in the
> Value property. But that did not work.
> Mike
>|||This is not possible since the program that controls the images is a 3rd
party program that I have no control over.
Mike
"Alain Quesnel" <alainsansspam@.logiquel.com> wrote in message
news:%23zVGlUEOIHA.5472@.TK2MSFTNGP04.phx.gbl...
> Have you considered storing the images in your database? You could use a
> varbinary field. It's easier to manage pictures that way IMOHO. And it
> works really well in SSRS.
>
> Alain Quesnel
> alainsansspam@.logiquel.com
> www.logiquel.com
>
> "Mike Read" <mread@.brunsco.net> wrote in message
> news:OovejNEOIHA.2064@.TK2MSFTNGP06.phx.gbl...
>>I need to add an image in a report, the images are stored on a file share,
>>i get the path to the image from a database.
>> How do I set the image control properties to read from the file share. I
>> tried setting the Source as External and then put the unc path in the
>> Value property. But that did not work.
>> Mike
>|||On Dec 6, 3:04 pm, "Mike Read" <mr...@.brunsco.net> wrote:
> I need to add an image in a report, the images are stored on a file share, i
> get the path to the image from a database.
> How do I set the image control properties to read from the file share. I
> tried setting the Source as External and then put the unc path in the Value
> property. But that did not work.
> Mike
I believe that you have to use the "file:///" prefix in the URL in
order to tell the browser to pull from the local drives.
-- Scott|||Thanks, that did it.
Mike
"Orne" <polysillycon@.yahoo.com> wrote in message
news:7c55daf5-2958-4c82-a961-462e9f35746c@.i12g2000prf.googlegroups.com...
> On Dec 6, 3:04 pm, "Mike Read" <mr...@.brunsco.net> wrote:
>> I need to add an image in a report, the images are stored on a file
>> share, i
>> get the path to the image from a database.
>> How do I set the image control properties to read from the file share. I
>> tried setting the Source as External and then put the unc path in the
>> Value
>> property. But that did not work.
>> Mike
> I believe that you have to use the "file:///" prefix in the URL in
> order to tell the browser to pull from the local drives.
> -- Scott

No comments:

Post a Comment