+ 4
Can any one tell me if I can insert image in html using sololearn?? Or do I need to use pc
I can't seem to insert an image in html using this tag <img src ="image. jpg"/>
17 Answers
+ 34
try this ☺☺
it works.
<html>
<head>
<title>magiboy</title>
</head>
<body>
<img src="https://dl.dropbox.com/s/uck8b5a2p0o6zrh/IMG-20180123-WA0012.jpg?dl=0" alt="my pic"/>
</body>
</html>
https://code.sololearn.com/W6vg583SZ8Jj/?ref=app
+ 29
To make our url redirect us directly to the file we have two options:The first is to change the www. bydl., in such a way that our url is of the following way:
https://dl.dropbox.com/s/q1mdrm8hno97cr3/svg-icons.css
The second way is to modify the query string of our file, for that we only have to change ?dl=0 to ?raw=1 in our url.
https://www.dropbox.com/s/q1mdrm8hno97cr3/svg-icons.css?raw=1
[contents from mickel sanchez's code.sorry i am little lazy person to type.]
https://code.sololearn.com/WW6t4B73kJVz/?ref=app
+ 28
sure☺👍👍
welcome Ogbuagu Beloved Francis
+ 27
are you trying to insert image from your folder?
<img src="put here url of the image"/>
https://www.sololearn.com/Discuss/1071824/?ref=app
https://www.sololearn.com/Discuss/1054246/?ref=app
https://www.sololearn.com/Discuss/624265/?ref=app
+ 27
copy to clipboard then paste here☺
+ 4
my codes that has images, and I don't have a pc, not sure I've seen one in the last 5 months,
just copy your image url, and past it in the src value
but if your question is from an image in a folder in your file manager, I'm also looking for the answer to that question
https://code.sololearn.com/W1gbx7haZxNl/?ref=app
https://code.sololearn.com/WAC1D2PddJLN/?ref=app
+ 3
thanks @ Elizabeth
+ 2
you can't use an image from within sololearn. if you use it like <img src="image.jpg"> then this means your image - in order to be visible on the page- must be in the same folder as your html file. as you cant upload your image to sololearn this won't help.
you can upload your image to a file server and use the link for it, or you can use the link for an already existing image on the web (open the image in a browser window and then copy and paste the address from the address bar).
+ 2
Ok I m not used to this app, so I don't know how to share my code.... Can you help me out
+ 2
<html>
<head>
<title>magiboy</title>
</head>
<body>
<img src="https://www.dropbox.com/s/uck8b5a2p0o6zrh/IMG-20180123-WA0012.jpg?dl=0" alt="my pic"/>
</body>
</html>
+ 2
Ok I m gonna try this, if I encounter any problem I hope you will help me out again..
+ 2
Ok I m gonna try this, if I encounter any problem I hope you will help me out again..
+ 1
you can use url or the folder contains the photo. myfolder/image.jpg etc.
+ 1
Yeah I tried it. But code playground isn't showing me any image
+ 1
share your code and lets help
+ 1
Ok I don't know how I did it... But tell me now why my code isn't working??
+ 1
Ok what was wrong in my code... 😣😣