+ 6

How to find the image path??

I am trying to insert an image in my code from css stylesheet but the image isn't showing in the output . I don't know what is the problem.

10th Jun 2020, 4:51 PM
LordOfThunder [Inactive]
LordOfThunder [Inactive] - avatar
22 Answers
+ 5
https://postimages.org/ Upload your image here u will get many links copy it .
11th Jun 2020, 5:16 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 4
For Html -> <img src="path of an image.jpg" alt="" width="" height=""> NOTE: YOUR IMAGE EXTENSIONS IS .jpg , .png, .jfif or other. I have written jpg for example only. For Css -> I am dam sure that image is not set in your background by writing background-image in css. Instead you have to write following: background:url("path of image.jpg") center no-repeat;
11th Jun 2020, 8:39 AM
NEEL SHAH
NEEL SHAH - avatar
+ 3
maybe you didnt see my project that explained it https://code.sololearn.com/WlG586F5nHjR/?ref=app
11th Jun 2020, 4:06 AM
Victory
Victory - avatar
+ 3
Dopbox
11th Jun 2020, 4:22 AM
LordOfThunder [Inactive]
LordOfThunder [Inactive] - avatar
+ 3
copy Db link replace last charactors from the ā“ with .... raw=1 <audio controls> <source src = "https://www.dropbox.com/s/06yenxcz93pkwi1/Smooth.wav?raw=1" type = "audio/wav"> Videos are also embeded the same way ... <source src="https://www.dropbox.com/s/9xate5xgq63z21m/IMG_5740.MOV?raw=1" type="video/mp4" >
11th Jun 2020, 5:08 AM
Victory
Victory - avatar
+ 3
If u want to find path of image click on image and go on details or properties option u will see path . Copy your image in same folder where i saved your html file.
11th Jun 2020, 5:09 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 3
U can use two ways... 1. Right click on the image file. From properties, copy and paste the path as it is in the src attribute. 2. Save that image file in the same folder where u have saved your main html document and then u don't need to put the whole path. Just put the image file name along with the respective extension. I hope this helps...
11th Jun 2020, 4:46 PM
Vaishnavi Kumbhar
Vaishnavi Kumbhar - avatar
+ 3
Upload your image on Dropbox & copy url.
12th Jun 2020, 6:41 AM
SAN
SAN - avatar
+ 2
Pls answer
10th Jun 2020, 5:06 PM
LordOfThunder [Inactive]
LordOfThunder [Inactive] - avatar
+ 2
Sahil Contractor It is not a image link it is page link Try to use that link that contain .jpg at their end
10th Jun 2020, 5:23 PM
Abhay
Abhay - avatar
+ 2
I am using a link containing .jpg at the end
10th Jun 2020, 5:36 PM
LordOfThunder [Inactive]
LordOfThunder [Inactive] - avatar
+ 2
where is the image stored? and where are you calling it from ? cloud storage ? or is it stored in the project file ?
11th Jun 2020, 3:57 AM
Victory
Victory - avatar
+ 2
Dropbox
11th Jun 2020, 4:22 AM
LordOfThunder [Inactive]
LordOfThunder [Inactive] - avatar
+ 2
Pls answer
11th Jun 2020, 5:00 AM
LordOfThunder [Inactive]
LordOfThunder [Inactive] - avatar
+ 2
How can I store the code I am doing in Sololearn in a folder???
11th Jun 2020, 5:10 AM
LordOfThunder [Inactive]
LordOfThunder [Inactive] - avatar
+ 2
Ok thnx
11th Jun 2020, 4:47 PM
LordOfThunder [Inactive]
LordOfThunder [Inactive] - avatar
10th Jun 2020, 4:51 PM
LordOfThunder [Inactive]
LordOfThunder [Inactive] - avatar
+ 1
I did but nothing happens
11th Jun 2020, 5:08 AM
LordOfThunder [Inactive]
LordOfThunder [Inactive] - avatar