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

Add settings for downloading copied images #79

Open
wheelercj opened this issue Jul 15, 2024 · 1 comment
Open

Add settings for downloading copied images #79

wheelercj opened this issue Jul 15, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@wheelercj
Copy link
Collaborator

wheelercj commented Jul 15, 2024

Related: #80 and #81

When copying an image, Stardown only gets the image's URL, not the image itself. This works, but will eventually stop working when the image is no longer served by that URL. Those using local editors like Obsidian may want Stardown to download images, automatically put them in a folder of their choice, and include the file path to the downloaded image in the image markdown.

This will require another browser extension permission, but the permission can be optional and only requested if and when the user turns on image downloading in Stardown's settings.

This feature will require two new settings:

  • whether to download images (default to not downloading)
  • where to download images to
@wheelercj
Copy link
Collaborator Author

If the downloaded images must be in the downloads folder, they should be put into a folder within the downloads folder, such as downloads/stardown/image1.png.

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

No branches or pull requests

1 participant