benr77 / obsidian-gitlab-issues

Obsidian plugin to create/update/remove notes based on GitLab issues
MIT License
28 stars 15 forks source link

Download images from Issues #20

Open razvanursu opened 1 year ago

razvanursu commented 1 year ago

Hi and thanks for creating this plugin!

I was thinking that images could also be displayed in the GitLab Issue. As I see it, the best option os to download the remote image locally to some "/images/" folder, where Obsidian can render it locally.

I have also thought of extending the GitLab local uploads link with the gitlab instance and project name and use the image as an external one. However, I guess this would require authentication, in order to see the image in the Obsidian Note, which makes everything more complicated.

What do you think about this? 😄

benr77 commented 1 year ago

What images are you referring to? Ones that are embedded into issue descriptions and comments?

razvanursu commented 1 year ago

Yup, exactly! The ones referenced in the Markdown as ![Image Name](image/local/ref/img.png), for example. Mainly focussiong on the images in the original issues, but downloading the images in the comments would also be useful.

razvanursu commented 1 year ago

Hi, any update on this issue? Should there be any help needed, please let me know, as I could perhaps contribute :)