LAURA CHEN
LAURA CHEN

Reputation: 11

WebStorm image src absolute path - CANNOT display

I'm new to HTML5. Just learned it for two weeks only, using WebStorm on Macbook air.

I have image source issues.

My question is: Why image from absolute path can't be displayed? The path and error

I'm sure the path is correct. How can I solve this issue?

Thanks in advance.

B.R. Laura

**EDIT: Thanks to all. Solved.

Upvotes: 0

Views: 1415

Answers (1)

lena
lena

Reputation: 93728

WebStorm doesn't follow/resolve such links - only those files that belong to your project can be referenced. And such link won't work anyway when opening the page on built-in webserver - only files located in the project directory are served for security reasons

Upvotes: 2

Related Questions