Maybe it’s because I’ve being using some of his solutions in my wikis lately, but this recent post from @Telumire leads me to believe we’re on the same wavelength about importing images.
I’d like to be able to drag-and-drop background images into my wikis and automatically tag them $:/tags/Image
and $:/tags/Background
plus add some custom fields (recommended palettes, orientation, flip, focus, and caption). The icing on the cake would be naming the incoming tiddler $:/backgrounds/original file name.jpg
and filling the caption field with original file name
(sans file extension)
The tips in that other thread suggest I could do at least most of this with modifications to $:/core/ui/EditorToolbar/file-import
(though I haven’t yet tried adding the fields).
But what if I only wanted to import some images this way?
Is there a way I could create an import template of some kind and drag images onto a specific hot area of the page to apply my import template to only those tiddlers I placed on this custom dropzone? (I’m thinking the dropzone could be in the body of a tiddler, so I’d just invoke that when I needed to import some background images — or I’d place it somewhere on the SideBar or MenuBar to keep it handy in case I needed it.)
Has anyone built anything like this?