gavvvr / obsidian-imgur-plugin

Pastes images right to imgur.com
MIT License
205 stars 53 forks source link

[Feature Request] Add an optional context menu prompt to enter an image filename before upload #53

Open pranavAbe opened 1 year ago

pranavAbe commented 1 year ago

It would be beneficial, for organisational purposes, to have an optional toggle in the plugin settings, that provides a prompt to the user upon pasting in an image to enter a filename for the image before uploading, which also reflects within the Imgur dashboard.

Support for other supported attributes by Imgur like Tags and Albums could also be considered an additional scope of improvement to this feature request.

gavvvr commented 1 year ago

Hi @pranavAbe. I agree. I initially wanted to upload images to specific album. I do not remember exactly why I did not implement it.. there was some impediment

pranavAbe commented 1 year ago

Well, is there a chance that I can ask you to look into this again? Perhaps also in terms of specifying a filename for upload and adding tags?

gavvvr commented 1 year ago

@pranavAbe , sure, you already did a request and it's accepted as a good idea (albums) What do you mean by file name? Is it a name visible in your files list on imgur.com?

pranavAbe commented 1 year ago

Yeah, thanks for considering that. And there is a filename on Imgur. Right now the site is over capacity so I can't provide an example from the website, but here's what it looks like in the app.

Note: The filename "Framework" is seen at the top.

The filename "Framework" is seen at the top

gavvvr commented 1 year ago

@pranavAbe I see now. The images uploaded by plugin are named "unknown". Do you know if it's also possible to rename already uploaded images?

pranavAbe commented 1 year ago

Yeah, it is possible on the website, although I haven't explored the API enough to know if there's an endpoint for the same on there.