Avatar of Ron Baas
Ron Baas
Flag for Netherlands asked on

Links to local files do not work

Links to local files do not work in webbrowser

I'have a problem, I have made a intranet for a client. With links to local files as  *doc, *pdf & jpg.
I have make a link:  <a href="file:///G:/Maintenance/Schade/2018/example.jpg" target="_blank">photo</a>
But the link doesn't work. It seems that firefox and google chrome does not allow this. Does anyone know a solution?

thanks in advance
Images and PhotosGoogleChromePHPJavaScript

Avatar of undefined
Last Comment
David Johnson, CD

8/22/2022 - Mon
mohan singh

so your all code with image

I think your path is wrong please check image path is correct or not
ASKER CERTIFIED SOLUTION
Dave Baldwin

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
mohan singh

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Ron Baas

ASKER
Thanks Dave for the answer,

I'll try the option to copy the files into the webdirectory
David Johnson, CD

add the directories to the virtual directories and reference them there
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes