How can I apply an image in my code?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 12

How can I apply an image in my code??

How can I apply an image in my code ? Someone will tell me, that I have tried very hard but it is not happening..

19th Jul 2020, 3:34 PM
Neema Rathore
Neema Rathore - avatar
41 Answers
+ 13
Your original link need a change to work in playground. You can see those what changes you need from @Michel code from above links. There are 2 ways to specify that. So that 2 links are 2 different ways to represent your original link in playground to work. Not a single link.. If still any problem, pls share the link of your code... edit : Neema Rathore <!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <audio controls> <source src="https://dl.dropboxusercontent.com/s/1omcjilnukis0ta/persian-music-03-6559.mp3"/> </audio> <img src ="https://www.dropbox.com/s/gkgphxkya31mer5/IMG-20160405-WA0026.jpg?raw=1" width="75%"/> <img src ="https://dl.dropbox.com/s/gkgphxkya31mer5/IMG-20160405-WA0026.jpg" width="100%"/> </body> </html> https://code.sololearn.com/W4sS2s4siipj7/?ref=app
19th Jul 2020, 5:04 PM
Jayakrishna 🇮🇳
+ 13
Original URL- https://www.dropbox.com/s/1omcjilnukis0ta/persian-music-03-6559.mp3?dl=0 Step 1: Remove ? dl=0 from last Step 2: Replace www with dl Step 3: Replace dropbox with dropboxusercontent Now Final URL Is- https://dl.dropboxusercontent.com/s/1omcjilnukis0ta/persian-music-03-6559.mp3
19th Jul 2020, 5:43 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 13
In which language
20th Jul 2020, 3:34 AM
Amit Kumar
Amit Kumar - avatar
19th Jul 2020, 5:02 PM
Nilesh
+ 6
Neema Rathore Can you please show your code once what you have pasted inside the the img tag?
19th Jul 2020, 4:20 PM
Nilesh
+ 6
Thank u so much sir now it's work I'm happy Thanx for you're help thank you so much ❤
19th Jul 2020, 5:06 PM
Neema Rathore
Neema Rathore - avatar
+ 4
Did u make this in the phone
19th Jul 2020, 5:02 PM
Neema Rathore
Neema Rathore - avatar
+ 4
Thank u krish sir 😁😁
19th Jul 2020, 6:06 PM
Neema Rathore
Neema Rathore - avatar
+ 4
You can add images using the tag: <img src="website URL"> Make sure you also have a valid ending to the link Examples: .PNG, .jpeg, etc.
21st Jul 2020, 4:07 AM
BrokenStar [INACTIVE]
BrokenStar [INACTIVE] - avatar
+ 3
I just used <img src ="gifts-5-1316929.jpg"> This is link of image But it cannot show in output plzz tell me why ??
19th Jul 2020, 3:43 PM
Neema Rathore
Neema Rathore - avatar
+ 3
Sir Plzz tell me. I'm pasting your two links together than I'm seeing why not see one link??
19th Jul 2020, 4:56 PM
Neema Rathore
Neema Rathore - avatar
+ 3
Sir I have one more question
19th Jul 2020, 6:53 PM
Neema Rathore
Neema Rathore - avatar
+ 2
Ohkk
19th Jul 2020, 3:37 PM
Neema Rathore
Neema Rathore - avatar
+ 2
Neema Rathore Can you pls tell what kind of image you want I'll help you. Whatever you have posted is a bit unclear
19th Jul 2020, 3:50 PM
Nilesh
+ 2
I have download dropbox as u told me and upload an image in Dropbox then copy the link and paste here But it's also not working 😖
19th Jul 2020, 4:13 PM
Neema Rathore
Neema Rathore - avatar
+ 2
Ohkk
19th Jul 2020, 4:23 PM
Neema Rathore
Neema Rathore - avatar
19th Jul 2020, 4:24 PM
Neema Rathore
Neema Rathore - avatar