-2

I can't access a img of D drive inspite of giving full url in img tag

I have tried "." To access but after 2 dots it is not working

  • 1
    If you are publishing this to a webserver, this will break no matter what when deployed. – Jon P Feb 27 '23 at 06:21
  • this is not going work; move ur image to local directory or upload it to a cdn and put the absolute url – Mechanic Feb 27 '23 at 06:27
  • Ensure you're using `file://C:/localfile.jpg` schema and that HTML is local, see https://stackoverflow.com/q/4090712/4536543 – Maxim Mazurok Feb 27 '23 at 06:36

1 Answers1

-1

D:\Staff ID Cards\Name_Tag_Front\nameTagFooter.jpg Put this in your img src.

  • I understand the initial question was vague. But it would be more beneficial to explain relative vs absolute pathing. – john Mar 03 '23 at 07:21