+ 2

Sometimes , i'm unable to add image.

Hello everyone I write a code and when copy an image url from internet and add it to my coding it's not showing the image please help me I try it many times maybe I copy url link wrong are I coding wrong somewhere https://code.sololearn.com/WqYsp59k2d5H/?ref=app In short Q. How to copy an image url from internet Q2. I am using <IMG> for image tag there is an other way to use image tag instead of <IMG>...

23rd Mar 2020, 1:47 PM
Olivia Mikayla
Olivia Mikayla - avatar
31 Réponses
+ 5
Olivia use this url "https://upload.wikimedia.org/wikipedia/commons/e/eb/Flag_of_Belgium.png" the problem is you use the wrong url from wikipedia From the first Question, here's my step : search image on google open the one you like hold tap the image tap "open image in new tab" make sure the url is end with ".jpg" or ".png" if not, find the other image And from your second question, there's some another way using an image with css
24th Mar 2020, 3:43 AM
Yusril Adriansyah Putra
Yusril Adriansyah Putra - avatar
+ 7
Hello! The link of the image you copied is not the real link of the image. The real link is this one : https://upload.wikimedia.org/wikipedia/commons/e/eb/Flag_of_Belgium.png Edit: the link you put is a way to tell Javascript "show me this image in a modal"
23rd Mar 2020, 1:50 PM
Rachid Djazair
Rachid Djazair - avatar
+ 6
Olivia If you upload your pictures on Dropbox they will get displayed on nearly any app or browser I have tried anyway. So move your picture to your own Dropbox and use their unique address to link in your html. Example: <img src="https://dl.dropbox.com/s/v0sqwnealryml9b/images.png" alt="The Scull">
23rd Mar 2020, 4:02 PM
PjCode
PjCode - avatar
+ 6
Hello, If that is not working than you can open that image in new tab and then you can copy image link easily .☺️☺️☺️ ,hope it helps you
25th Mar 2020, 1:21 AM
Dipendra
Dipendra - avatar
+ 5
AKR I also try that . But it's not working... Can explain me a bit more Please
23rd Mar 2020, 2:14 PM
Olivia Mikayla
Olivia Mikayla - avatar
+ 4
AKR but all images is not available on this website that you give me
23rd Mar 2020, 2:08 PM
Olivia Mikayla
Olivia Mikayla - avatar
+ 4
Olivia download Dropbox app, from there you can just upload any image you want to it, and copy its url and use it anywhere on the web.
23rd Mar 2020, 10:17 PM
ugochukwu Joseph
ugochukwu Joseph - avatar
+ 4
Upload your image on postbox image search on Google and upload u will find many links u can get links for css html etc....
25th Mar 2020, 8:22 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 3
AKR why I can't use other images?
23rd Mar 2020, 1:53 PM
Olivia Mikayla
Olivia Mikayla - avatar
+ 3
AKR well but how you copy the image url I have try many website
23rd Mar 2020, 2:06 PM
Olivia Mikayla
Olivia Mikayla - avatar
+ 3
That happens to me sometimes. And what I do is I go to the original site of the image and then it works. It might doesn't work in your code because the image is from Wikipedia I think. So try going to the original site of the image
23rd Mar 2020, 6:01 PM
Alex Nugent
Alex Nugent - avatar
+ 3
U if cant to place image is you need to go to google and search what image you want and go to photos and right click on image and copy image adress <img src="(link)">
23rd Mar 2020, 6:17 PM
Mikicrep
Mikicrep - avatar
+ 3
Browser to go to google.com and search what u want to insert image and go to photos right click and copy image adress
23rd Mar 2020, 6:21 PM
Mikicrep
Mikicrep - avatar
+ 3
Olivia, search for any image you want and right click to this image and choose copy image address and paste it to your img tag's src as follows: <img src="paste the copied link here"/> if this still does not work check your internet connection, because if the image size is big it may take some time to reload. if this still does not work, go to style and give Width and Height to your image. if this still does not work, you better sent the way how you are doing it, and we will see if it is correct or not!
24th Mar 2020, 2:08 AM
Shayboniyshoh
Shayboniyshoh - avatar
+ 3
You can use <img src:"Link" alt:"Description"></img>
24th Mar 2020, 11:28 AM
Khudher Bassam
Khudher Bassam - avatar
+ 3
Wow i love the way all of you learn and edit your codes here
24th Mar 2020, 12:41 PM
Solomon Akachukwu[code Weiner]
Solomon Akachukwu[code Weiner] - avatar
+ 3
Go to google Search the image. Tap it to open it into a new tab. Click the url at the uaward. Then you will find the option to copy the url
25th Mar 2020, 9:31 AM
Dilshan Ahmed
Dilshan Ahmed - avatar
+ 3
I always use<IMG> tag to insert image Else, by using <a> tag
25th Mar 2020, 1:04 PM
Prince kumar
Prince kumar - avatar
+ 1
Rachid Djazair please answer my question one how to copy a image URL from internet?
23rd Mar 2020, 1:51 PM
Olivia Mikayla
Olivia Mikayla - avatar