Home > Web Front-end > HTML Tutorial > Emergency The image cannot be displayed after the website is uploaded to the server_html/css_WEB-ITnose

Emergency The image cannot be displayed after the website is uploaded to the server_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:51:33
Original
2421 people have browsed it

I am a newbie and this is my first time in everything. There are many professional words that I don’t understand, so I hope everyone can be more specific when helping me. Thank you very much!
Question:
I used webpagemker to make a website, uploaded and exported the local html file to the local machine, and opened it with a browser and it showed that everything was normal. After uploading to the FTP server, the pictures are not displayed. Please give me some advice. Please see the picture. Waiting online! It’s best to leave your contact information for anyone who can help, thank you!


Reply to discussion (solution)

More than just uploading HTML files ,

is to upload the entire site directory, including html, css, pictures, etc...

Use domain name or IP to view

Not just Upload the HTML file,

is to upload the entire site directory, including html, css, pictures, etc...



Sorry, the specific one is the directory of the entire site. I uploaded all the files on the left side of flashfxp in the first picture to the server WEB file, and then emailed the html page to view

Use domain name or IP to view



@ slwsss
I haven’t applied for a domain name yet. Check the effect of the website first before purchasing the domain name. You can’t log in to the NAT IP provided by the server. It seems that you can log in directly to the backend by entering the FTP IP. The view is the same as now.

This tool is good.
Export the pictures to a new folder and upload the entire folder.




This tool is great.
Export the pictures to a new folder and upload the entire folder.





@webyellow
You mean you are 11? Upload the folder or upload the html file inside and the imagine folder. Thank you for your patience


This tool is good.
Look at the picture and export it to a new one folder, upload the entire folder.





@ webyellow
Do you mean upload the folder of 11? Upload the html files inside and the imagine folder. Thank you for your patience


Upload all the files in the 11 site.

Not just the HTML Upload the file,

You want to upload the entire site directory, including html, css, pictures, etc...



Have you tried both upload methods you mentioned? No, please give me some advice. Sadly, I have to work overtime


http://ip:port/page2.html
Example: http://192.168.1.1:80/page2 .html


http://ip:port/page2.html
Example: http://192.168.1.1:80/page2.html

Thank you, I tried your method and it says it can’t be opened~ Is there any other way?
When I check the webpage in flashfxp, I can see the path of the image attributes, and the local path of my computer is also displayed. Is this the reason? You don’t have to modify the image path after uploading?



This tool is great.
View the pictures and export them to a new folder, and upload the entire folder.





@webyellow
What do you mean, upload the folder 11 or upload the html file and the imagice folder inside? Thank you Thanks to your patience


11 all the files in the site were uploaded.


I checked the web page in flashfxp and looked at the path of the image attributes. It displays the local path of my computer. Is this the reason? You don’t have to modify the image path after uploading? Waiting for the master online

Use domain name or IP to view


Please see the picture below

The path of your picture is wrong. The path is relative to your website, not the c drive, etc. as you wrote.
You should create an image folder under your project and then find the path.

The path of your image is wrong. The path is relative to your website, not the c drive, etc. as you wrote.
You should create an image folder under your project and then find the path.



God, I am very confused. Can you give me more details?
Do you realize that pictures should be created in an image folder on the server and then uploaded? I am now uploading all the content of the website (html page, image folder, file folder) to the server WEB folder together
PS: It seems that the upload process automatically generates the path. I have not modified the operation entry. ? This reason is that there are not many pictures. Check yourself whether your image loading path is correct. You can check whether the address is wrong by turning on the debug function of the browser or right-clicking the source code in the browser.

Your reason is that there are not many image paths. Check yourself whether your image loading path is correct. You can check whether the address is wrong by turning on the debug function of the browser or right-clicking the source code in the browser.


Well, it should be a path problem. God, is it possible that I haven't applied for a domain name yet? I am uploading the website to the server space vacated by the Hong Kong branch. It does not have a domain name. When I right-click FLASHFXP, it seems that it was downloaded and opened locally on the computer. Although the opening method is QQ browser, will this cause the image to not be displayed? I'm so confused as a newbie... I can borrow some free domain name space for me to debug.
Some awesome people are giving random instructions; at first glance, the url is a local file path.

Some awesome people are giving blind instructions; at first glance, the url is a local file path.


Master, what is urt? Can you tell me more about my current problem? Trouble. Here are my feelings after messing around for a few days

Well, it should be a path problem. God, is it possible that I haven't applied for a domain name yet? I am uploading the website to the server space vacated by the Hong Kong branch. It does not have a domain name. When I right-click FLASHFXP, it seems that it was downloaded and opened locally on the computer. Although the opening method is QQ browser, will this cause the image to not be displayed? The newbie is very confused... There is a free domain name space that I can borrow for debugging.

Your reason is that there are not many image paths. Check yourself whether your image loading path is correct. You can check whether the address is wrong by turning on the debug function of the browser or right-clicking the source code in the browser.


Well, it should be a path problem. God, is it possible that I haven't applied for a domain name yet? I am uploading the website to the server space vacated by the Hong Kong branch. It does not have a domain name. When I right-click FLASHFXP, it seems that it was downloaded and opened locally on the computer. Although the opening method is QQ browser, will this cause the image to not be displayed? The newbie is so confused... There is a free domain name space available for me to debug.

The website must be registered. Not only does it need to apply for a domain name, but it also needs to be registered.

Some awesome people are giving random instructions; at first glance, the url is a local file path.


Master, what is urt? Can you tell me more about my current problem? Trouble. Here are my feelings after messing around for a few days

Well, it should be a path problem. God, is it possible that I haven't applied for a domain name yet? I am uploading the website to the server space vacated by the Hong Kong branch. It does not have a domain name. When I right-click FLASHFXP, it seems that it was downloaded and opened locally on the computer. Although the opening method is QQ browser, will this cause the image to not be displayed? The newbie is confused... There is a free domain name space available for me to debug.



The reason is that there are not many image paths. Check yourself whether your image loading path is correct. You can check whether the address is wrong by turning on the debug function of the browser or right-clicking the source code in the browser.


Well, it should be a path problem. God, is it possible that I haven't applied for a domain name yet? I am uploading the website to the server space vacated by the Hong Kong branch. It does not have a domain name. When I right-click FLASHFXP, it seems that it was downloaded and opened locally on the computer. Although the opening method is QQ browser, will this cause the image to not be displayed? The newbie is so confused... There is a free domain name space available for me to debug.

The website must be registered. Not only does it need to apply for a domain name, but it also needs to be registered.
Okay, got it. Do you mean that if I apply for domain name registration, it will be displayed and browsed normally?

Some awesome people are giving random instructions; at first glance, the url is the local file path.


Master, what is urt? Can you tell me more about my current problem? Trouble. Here are my feelings after messing around for a few days

Well, it should be a path problem. God, is it possible that I haven't applied for a domain name yet? I am uploading the website to the server space vacated by the Hong Kong branch. It does not have a domain name. When I right-click FLASHFXP, it seems that it was downloaded and opened locally on the computer. Although the opening method is QQ browser, will this cause the image to not be displayed? The newbie is confused... There is a free domain name space available for me to debug.



The reason is that there are not many image paths. Check yourself whether your image loading path is correct. You can check whether the address is wrong by turning on the debug function of the browser or right-clicking the source code in the browser.



Well, it should be a path problem. God, is it possible that I haven't applied for a domain name yet? I am uploading the website to the server space vacated by the Hong Kong branch. It does not have a domain name. When I right-click FLASHFXP, it seems that it was downloaded and opened locally on the computer. Although the opening method is QQ browser, will this cause the image to not be displayed? The newbie is so confused... There is a free domain name space available for me to debug.
The website must be registered. Not only does it need to apply for a domain name, but it also needs to be registered.

Okay, got it. Do you mean that if I apply for domain name registration, it will be displayed and browsed normally?
Right-click to view the source code. You have to make sure that all your image paths are loaded correctly! ! ! ! !
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