Linking to an intranet image file

A

Adam

Hi All

I've seen various posts and webpages detailing how to show a link image
in a database, from a field in a table linking to that image.

Is it possible to have a calculated field that looks up an image saved
on a corporate intranet site?

I have a database and would like to show the photographs of employees
when looking up their record.

There pictures are saved on a corporate intranet with a url like
'\dfsjkfdkbgf\[surname][forename].jpg'

Is it possible to link in these pictures to employees?

Many Thanks

Adam
 
D

Douglas J. Steele

I don't believe you can link unless you can provide the actual UNC path to
the file, not the http: URL.
 
P

Patrice

You could create a page that based on some parameter reads the corresponding
picture file and stream it to the browser (using Response.WriteFile) with
the appropriate content type...

From there you can use this page in img tags as if it were really an image
(it is serving anyway an image).
 
A

Adam

What is this Response.WriteFile you speak of?

You could create a page that based on some parameter reads the corresponding
picture file and stream it to the browser (using Response.WriteFile) with
the appropriate content type...

From there you can use this page in img tags as if it were really an image
(it is serving anyway an image).

--
Patrice

Adam said:
Hi All

I've seen various posts and webpages detailing how to show a link image
in a database, from a field in a table linking to that image.

Is it possible to have a calculated field that looks up an image saved
on a corporate intranet site?

I have a database and would like to show the photographs of employees
when looking up their record.

There pictures are saved on a corporate intranet with a url like
'\dfsjkfdkbgf\[surname][forename].jpg'

Is it possible to link in these pictures to employees?

Many Thanks

Adam
 
P

Patrice

It would be server side in the intranet to serve the image. If you already
have such a page you could likely grab the image from Access using XMLHttp
(try http://www.4guysfromrolla.com/webtech/110100-1.shtml) and treat it
locally.

If you have access to the UNC as suggested by Doublas it could be simpler.

I'm not sure what the exact problem is ? First of all how do you plan to
access these images. Do you have access to a network share ? Or do you want
to use http ?

--
Patrice

"Adam" <[email protected]> a écrit dans le message de (e-mail address removed)...
What is this Response.WriteFile you speak of?

You could create a page that based on some parameter reads the
corresponding
picture file and stream it to the browser (using Response.WriteFile) with
the appropriate content type...

From there you can use this page in img tags as if it were really an image
(it is serving anyway an image).

--
Patrice

Adam said:
Hi All

I've seen various posts and webpages detailing how to show a link image
in a database, from a field in a table linking to that image.

Is it possible to have a calculated field that looks up an image saved
on a corporate intranet site?

I have a database and would like to show the photographs of employees
when looking up their record.

There pictures are saved on a corporate intranet with a url like
'\dfsjkfdkbgf\[surname][forename].jpg'

Is it possible to link in these pictures to employees?

Many Thanks

Adam
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top