Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

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.

Comments on Import image from web link?

Parent

Import image from web link?

+3
−0

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 Battle between pavement ant colonies on sidewalk, May 2019, Mount Vernon, Washington, US

Remove '!' and the link works Battle between pavement ant colonies on sidewalk, May 2019, Mount Vernon, Washington, US

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

Post
+3
−0

It already exists in simple Markdown:

![image alt text](paste your link here)
History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

General comments (4 comments)
General comments
James Jenkins‭ wrote over 4 years ago

I am not sure it is working correctly. It looks from your example like I just need to add ! in front of the link I had existing in the post. I did that and I see an image icon (tiny) but not the picture.

ArtOfCode‭ wrote over 4 years ago

@JamesJenkins As long as it's a direct link to an image, adding a ! should embed the image in the post - that should work anywhere Markdown is supported.

James Jenkins‭ wrote over 4 years ago

@artofcode I edited my question, with an example. Maybe I am not understanding something?

ArtOfCode‭ wrote over 4 years ago

@JamesJenkins The link you're using there is to an HTML page, not to an image. Usually links that end in .jpg, .png etc are images, but Wikimedia hijacks them and serves HTML; you want https://upload.wikimedia.org/wikipedia/commons/thumb/2/21/Pavement_ants_battling_on_sidewalk.jpg/1280px-Pavement_ants_battling_on_sidewalk.jpg