search
HomeWeb Front-endHTML TutorialEmergency The image cannot be displayed after the website is uploaded to the server_html/css_WEB-ITnose

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! ! ! ! !
Statement
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
The Future of HTML, CSS, and JavaScript: Web Development TrendsThe Future of HTML, CSS, and JavaScript: Web Development TrendsApr 19, 2025 am 12:02 AM

The future trends of HTML are semantics and web components, the future trends of CSS are CSS-in-JS and CSSHoudini, and the future trends of JavaScript are WebAssembly and Serverless. 1. HTML semantics improve accessibility and SEO effects, and Web components improve development efficiency, but attention should be paid to browser compatibility. 2. CSS-in-JS enhances style management flexibility but may increase file size. CSSHoudini allows direct operation of CSS rendering. 3.WebAssembly optimizes browser application performance but has a steep learning curve, and Serverless simplifies development but requires optimization of cold start problems.

HTML: The Structure, CSS: The Style, JavaScript: The BehaviorHTML: The Structure, CSS: The Style, JavaScript: The BehaviorApr 18, 2025 am 12:09 AM

The roles of HTML, CSS and JavaScript in web development are: 1. HTML defines the web page structure, 2. CSS controls the web page style, and 3. JavaScript adds dynamic behavior. Together, they build the framework, aesthetics and interactivity of modern websites.

The Future of HTML: Evolution and Trends in Web DesignThe Future of HTML: Evolution and Trends in Web DesignApr 17, 2025 am 12:12 AM

The future of HTML is full of infinite possibilities. 1) New features and standards will include more semantic tags and the popularity of WebComponents. 2) The web design trend will continue to develop towards responsive and accessible design. 3) Performance optimization will improve the user experience through responsive image loading and lazy loading technologies.

HTML vs. CSS vs. JavaScript: A Comparative OverviewHTML vs. CSS vs. JavaScript: A Comparative OverviewApr 16, 2025 am 12:04 AM

The roles of HTML, CSS and JavaScript in web development are: HTML is responsible for content structure, CSS is responsible for style, and JavaScript is responsible for dynamic behavior. 1. HTML defines the web page structure and content through tags to ensure semantics. 2. CSS controls the web page style through selectors and attributes to make it beautiful and easy to read. 3. JavaScript controls web page behavior through scripts to achieve dynamic and interactive functions.

HTML: Is It a Programming Language or Something Else?HTML: Is It a Programming Language or Something Else?Apr 15, 2025 am 12:13 AM

HTMLisnotaprogramminglanguage;itisamarkuplanguage.1)HTMLstructuresandformatswebcontentusingtags.2)ItworkswithCSSforstylingandJavaScriptforinteractivity,enhancingwebdevelopment.

HTML: Building the Structure of Web PagesHTML: Building the Structure of Web PagesApr 14, 2025 am 12:14 AM

HTML is the cornerstone of building web page structure. 1. HTML defines the content structure and semantics, and uses, etc. tags. 2. Provide semantic markers, such as, etc., to improve SEO effect. 3. To realize user interaction through tags, pay attention to form verification. 4. Use advanced elements such as, combined with JavaScript to achieve dynamic effects. 5. Common errors include unclosed labels and unquoted attribute values, and verification tools are required. 6. Optimization strategies include reducing HTTP requests, compressing HTML, using semantic tags, etc.

From Text to Websites: The Power of HTMLFrom Text to Websites: The Power of HTMLApr 13, 2025 am 12:07 AM

HTML is a language used to build web pages, defining web page structure and content through tags and attributes. 1) HTML organizes document structure through tags, such as,. 2) The browser parses HTML to build the DOM and renders the web page. 3) New features of HTML5, such as, enhance multimedia functions. 4) Common errors include unclosed labels and unquoted attribute values. 5) Optimization suggestions include using semantic tags and reducing file size.

Understanding HTML, CSS, and JavaScript: A Beginner's GuideUnderstanding HTML, CSS, and JavaScript: A Beginner's GuideApr 12, 2025 am 12:02 AM

WebdevelopmentreliesonHTML,CSS,andJavaScript:1)HTMLstructurescontent,2)CSSstylesit,and3)JavaScriptaddsinteractivity,formingthebasisofmodernwebexperiences.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

Atom editor mac version download

Atom editor mac version download

The most popular open source editor