0

I want to use a local file destination path instead of a url in this code so I don't have to be connected to the internet for it to fetch the gif. I've tried a few things across stack but nothing works.

<img src="gif url"alt=""style="width:12px;height:18px;">  
Cœur
  • 37,241
  • 25
  • 195
  • 267
  • try filesystem path, based on your OS. win - `` unix replace src with - file:///home/user/Documents/some.gif or if you have, start a web server (this will perform better that file protocol) inside that path, and call files – marmeladze Jul 25 '16 at 15:15

2 Answers2

0

I think this should answer your question. Just need a path to the local copy.

Community
  • 1
  • 1
BrandonM
  • 390
  • 4
  • 12
0

file://..../name.gif

or

http://localhost/.../name.gif need local web server(iis or apache)