# Insert images in cli

**URL:** <https://discourse.joplinapp.org/t/insert-images-in-cli/26163>\
**Category:** Support\
**Created:** [23 June 2022 07:59 UTC](https://discourse.joplinapp.org/t/insert-images-in-cli/26163 "2022-06-23T07:59:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jotech](https://avatars.discourse-cdn.com/v4/letter/j/ec9cab/32.png) [@jotech](https://discourse.joplinapp.org/u/jotech)\
**Post date:** [23 June 2022 07:59 UTC](https://discourse.joplinapp.org/t/insert-images-in-cli/26163/1 "2022-06-23T07:59:08Z")

</div>

Hi,  
I'm wondering, is there any way to include image files using the command line interface of joplin?

---

<div class="post-metadata">

**Author:** ![Daeraxa](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/daeraxa/32/6172_2.png) [@Daeraxa](https://discourse.joplinapp.org/u/Daeraxa)\
**Post date:** [23 June 2022 08:14 UTC](https://discourse.joplinapp.org/t/insert-images-in-cli/26163/2 "2022-06-23T08:14:47Z")

</div>

You use the `attach` command.

e.g. `attach $n /home/user/pictures/unicorncatpicture.png`

[https://joplinapp.org/terminal/#commands](https://joplinapp.org/terminal/#commands)

---

<div class="post-metadata">

**Author:** ![jotech](https://avatars.discourse-cdn.com/v4/letter/j/ec9cab/32.png) [@jotech](https://discourse.joplinapp.org/u/jotech)\
**Post date:** [23 June 2022 09:02 UTC](https://discourse.joplinapp.org/t/insert-images-in-cli/26163/3 "2022-06-23T09:02:31Z")

</div>

Great, thank you! Could it also work with images from the clipboard?

---

<div class="post-metadata">

**Author:** ![Daeraxa](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/daeraxa/32/6172_2.png) [@Daeraxa](https://discourse.joplinapp.org/u/Daeraxa)\
**Post date:** [23 June 2022 09:41 UTC](https://discourse.joplinapp.org/t/insert-images-in-cli/26163/4 "2022-06-23T09:41:11Z")

</div>

I don't think it does but if someone knows if that can be implemented then I'm sure PRs would be accepted for it.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/3X/1/c/1c948e33314e232a0927789508474d8624f4270b.png) [@system](https://discourse.joplinapp.org/u/system)\
**Post date:** [23 July 2022 09:41 UTC](https://discourse.joplinapp.org/t/insert-images-in-cli/26163/5 "2022-07-23T09:41:38Z")

</div>

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