Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to add images #1683

Open
br4yd opened this issue Feb 19, 2023 · 2 comments
Open

Make it possible to add images #1683

br4yd opened this issue Feb 19, 2023 · 2 comments
Labels
enhancement New feature or request 📌 This can't go stale
Milestone

Comments

@br4yd
Copy link

br4yd commented Feb 19, 2023

Use Case/Motivation

Jrnl is a very great tool but it is missing the possibility to add images. It would be awesome, if it'd be possible to add images to the journal using a command that get's stored encrypted in a file system and linked to the entry it was added to. With another command you should be able to view the images added to an entry. Either by it opening a file browser with a temporary folder and the unencrypted images or by opening them directly.

Also, when exporting the Journal to markdown you could add the images to the markdown structure so you'd be able to view and print the Journal with the images attached to the entry.

Example Usage

jrnl --image-add <local/path/to/image> --on today
jrnl --image-view --on today

Other Information

No response

@br4yd br4yd added 🆕 New! enhancement New feature or request labels Feb 19, 2023
@wren wren added 📌 This can't go stale and removed 🆕 New! labels Feb 25, 2023
@wren wren added this to the Backlog milestone Feb 25, 2023
@micahellison
Copy link
Member

Hi @br4yd, thanks for the suggestion. We've been thinking about attaching multimedia to jrnl entries for a while now (such as #1390), though I think there could be some special considerations for images, such as supporting in-line terminal display tools like imgcat. Whatever the case, we'd like to change the file format first before implementing something like this, but we'll keep this scenario in mind as we get there.

@MarcCoquand
Copy link

I like the syntax for adding images. Maybe it should also be possible to add a caption, for example: jrnl --image-add <local/path/to/image> --on today Went canoeing in Gorge du Verdon.

Then you could have the format be [Wed, 2023-06-14 14:54, caption: local/path/to/image] Went canoeing in Gorge du verdon. This would keep the format still simple and allow you to easily plug in a Apple Shortcut to capture moments on your iphone and send to the journal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request 📌 This can't go stale
Projects
None yet
Development

No branches or pull requests

4 participants