Welcome to Codidact Meta!
Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.
Import image from web link?
I a recent post https://outdoors.codidact.com/questions/74859#answer-74867 I wanted to include a photo from Wikipedia.
I would like an option to load images from the a weblink, preferably that includes the attribution at the same time.
Edit An example that should work but does not seem to be working.
![Battle between pavement ant colonies on sidewalk, May 2019, Mount Vernon, Washington, US](https://en.wikipedia.org/wiki/Pavement_ant#/media/File:Pavement_ants_battling_on_sidewalk.jpg)
Add '!' and no image
Remove '!' and the link works Battle between pavement ant colonies on sidewalk, May 2019, Mount Vernon, Washington, US
2 answers
It already exists in simple Markdown:
![image alt text](paste your link here)
The problem is not markdown here. You got wrong link. When you visit the link https://en.wikipedia.org/wiki/Tetramorium#/media/File:Pavement_ants_battling_on_sidewalk.jpg (which you gave). Then, it will show Tetramorium
wiki page. Not picture. I found another picture link for right side picture (https://en.wikipedia.org/wiki/Tetramorium#/media/File:Tetramorium_immigrans_casent0005827_profile_1.jpg). You might say that the link also isn't showing picture while using Markdown.
If you visit that link than, you will see that there's lot of text. If a HTML page's body has lot of tags (HTML tags) than, picture won't show using markdown. Look at the link, the page only has img
tag. So, it will work for markdown. To get this type of link you have right click on picture then, Copy Image Address. Markdown will work for that link.
Sample :
0 comment threads