The usual process of inserting an image into a tiddler is:
Now:
I've been working on some import related things for a project. Ran into a wall last night and took a few minutes break to apply one of my tweaks to the process of inserting images into tiddlers, for a change of pace.
It allows you to import an image via drag and drop and insert it into the editor of a tiddler in one go.
- The UI is a quick 5 minute hack - re-using parts of the usual import UI - so there is lots of room for improvement. Note that this is all done in wikitext.
- You can play with it here: https://saqimtiaz.github.io/sq-tw/sandbox.html
- The relevant tiddlers are tagged: $:/sq/ui/inline-image-import
- The facility to rename before importing, and the checkbox to import as external file, are from the "NodeJS import as External Files" plugin. The plugin and these tweaks work well together, but are not dependent on each other.
Cheers,Saq
This is a wonderful option. Would it be possibly to use a default width or something like 50% so it would be easy to put content around it?
this is a real gap you have addressed when writing instructions.
Nice work
Regards
Tony
The usual process of inserting an image into a tiddler is:
- drag and drop.
- $:/Import opens
- import image.
- edit your tiddler
- use the picture drop-down to insert the image tag into the editor.
Now:
- edit your tiddler
- use the picture drop-down to import the image in the background, and insert the title into the editor in an image tag.
Nothing groundbreaking, but convenient if you work with images a lot.
I was inspired by your improvement
Thanks