Home > Web Front-end > HTML Tutorial > img image path problem_html/css_WEB-ITnose

img image path problem_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:51:28
Original
1026 people have browsed it

For example, there is a picture on my computer: D:data111.jpg Note: The picture is not in the website directory
There is an
on the html page When you double-click the htm directly in the project folder, the page can display the image.
But when I open this website with vs2010, the page does not display the image when I right-click and click "View on Browser"?
I have been struggling for a long time and can’t find the reason? Please help me.


Reply to discussion (solution)

Permissions, this is not allowed, use http://*** to put pictures in the site directory ****.jpg to access

What is the permission issue? Does vs2010 not have this permission? Then why can the htm page be displayed directly by double-clicking it?

The permission mentioned on the 1st floor is
Note: The picture is not in the website directory

If it is not in the website directory, you can browse it as long as you know the address

Then I am It is not possible to browse all the files on the server casually

This is also a "stand-alone version" Yes, there are still no pictures when accessed from other computers

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template