I have inserted a image through html code on my system that how will show another system | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I have inserted a image through html code on my system that how will show another system

I have inserted an image in my computer that can't able to see in another computer what is the method to include images on another computer

8th Apr 2017, 7:20 PM
prem Kumar
prem Kumar - avatar
10 Answers
+ 11
Ohm, okay... Google Search > Google Images > Click on a photo > Right button of mouse > "Copy the address of image" Then, paste the url in the "src" attribute.
8th Apr 2017, 8:08 PM
Maz
Maz - avatar
+ 11
If the file ".html" is not hosted on internet and the image is a local resource, you have to transfer the local image in the others computer, otherwise use a remote image with an internet connection for display it. ~ Sorry for my English ☕
8th Apr 2017, 7:28 PM
Maz
Maz - avatar
+ 11
Copy the address of an image in Google, for example: <img src = "http://www.apicius.es/wp-content/uploads/2012/07/IMG-20120714-009211.jpg" alt = "random image" /> This works with all devices.
8th Apr 2017, 7:43 PM
Maz
Maz - avatar
+ 1
Hey, here's one solution: look at your img elements. Do they look like this? <img src="file:///c/Program Files/somewhere/on/my/drive/image.jpg" /> Above,the URL you have specified  for the src attribute is a location on your personal hard drive.This works for your computer because, well, it's your computer, and your hard drive is hooked up to it. The simplest solution is this: 1. Put the image files in the same folder with the web pages. 2. Write your img elements like this: <img src="image.jpg" /> Notice what you don't see here. No http:, no file:, just a filename! I hope that this will help you. Good Luck!
20th Apr 2017, 6:05 AM
Sahil Kishore
Sahil Kishore - avatar
+ 1
copy ur HTML program or project and also copy ur image and save in a folder and copy to different system. it will works perfect
14th May 2017, 9:36 PM
Devendra Bhadauria
Devendra Bhadauria - avatar
0
what is remote image how can I use that
8th Apr 2017, 7:41 PM
prem Kumar
prem Kumar - avatar
0
please tell me detaily I am new to html that. image how you made
8th Apr 2017, 7:47 PM
prem Kumar
prem Kumar - avatar
0
very simple if u want to add some image on ur page then save the image on locate where ur HTML page and use imgsrc tag and u get also height and width
8th Apr 2017, 8:19 PM
Devendra Bhadauria
Devendra Bhadauria - avatar
0
that's not I am asking that image project in my computer but how do project or include that in another computer
8th Apr 2017, 8:21 PM
prem Kumar
prem Kumar - avatar
0
Hey, iam explaining you in the simplest way now. 1. Copy your HTML program and its image elements(background image) in a pendrive. 2.Then copy all those files on another computer. 3.Then,you need specify your "image element location "in the HTML program in another computer. for example: C:/" your IMAGE Name".jpg 4.Copy the above location of your image elements . And paste it into your HTML Program. example:<img src = C:/" your IMAGE Name".jpg __________________________________________ This is the only method .I hope my opinion may work for you! Thanks.
2nd May 2017, 5:18 PM
Sahil Kishore
Sahil Kishore - avatar