How do you add a photo to a comment?

So let’s say I’m commenting on a flag on iNat. Can I add a photo? I’ve seen some people do it but I’m not sure how they do.

1 Like

You have to use HTML. For example, if the photo is located at https://static.inaturalist.org/photos/47111201/large.jpg, the code would be

<img src="https://static.inaturalist.org/photos/47111201/large.jpg">

There have been requests to make formatting comments and journal posts more user friendly.

6 Likes

BTW you can also use bouteloua’s method to insert images from other sites, not just iNat images.

To get the URL that bouteloua linked (the http://static…etc) go to an obs with the photo you want to link, right click on the image and click ‘copy image address’ that will give you that static link.

I try to make a habit of adding the photo’s url underneath it so that ppl can find the observation quickly. As I’ve done here: https://www.inaturalist.org/comments/3310960

2 Likes

See also the discussion at: https://forum.inaturalist.org/t/can-i-add-images-to-a-comment/5910
Where there isn’t an existing link to an image, post a dummy observation with that image and link to that. Not pretty, but it works. I’m keeping one dummy observation alive and will add to it as needed.

1 Like

Another way to do this is to turn the image itself into a clickable link. This can be done by putting the <img> tag inside an <a> tag, like this:

<a href="https://www.inaturalist.org/photos/47953067"><img src="https://static.inaturalist.org/photos/47953067/medium.jpeg?1565620921/"></a>

4 Likes

that’s very useful, tks.

Started a wiki tutorial here to address this and similar questions.

1 Like

cool, I tested that out here: https://www.inaturalist.org/observations/14226256

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.