html - Image Path is not picking when uploaded the files on ftp server -


I am using the following code to display an image on a web page.

  & lt; Div float = "right" width = "30%" & gt; & Lt; Center & gt; & Lt; Img src = "jatinkhurana_image.jpg" /> & Lt; / Center & gt; & Lt; / Div & gt;  

The above code is from the .html file. My image is also in the same directory, which contains the html file.

This is working fine when I'm running the same thing when all the html file and image file is in my local directory.

Now I have uploaded all the files to the FTP server. All is well working, but it is not showing the image on the webpage.

I have tried ... I have logged on to that server and checked whether the file is or not .... The file was there I checked for the file name, whichever is correct is.

I do not know why this image is not showing.

If someone knows, please help me!

Check your browser console to inspect the image element when you receive a copy of that image , Then paste this src attribute in the new tab and check whether you see the image or not. If you do not see the image, then you should have some broken links in the image, if you see that the new tabs in the new tab disable all the extensions of your browser like ad-blocks etc. and let me know.
Edit:
Also check whether the spot is empty or a broken image appears. (Like Chrome loads a small image if the URL is incorrect)


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -