I think the approach would have to be from the other direction. You would have a script or program that would look at a directory of images, create tiddlers, and maybe create thumbnails. Then you could import the generated tiddlers into your TW.
Unfortunately the "External Attachment" plugin doesn't do the job and isn't available in the html quine.
On 1 Jan 2021, at 14:38, ludwa6 <wlud...@gmail.com> wrote:Was excited to learn from @MarkS. about "External Attachments" plugin for TiddlyDesktop, since that is my UI for TW5, but couldn't get it working right: i drag an image to TiddlyDesktop, and it lights up the green import bar atop the window, but then it offers to import scads of unrelated tiddlers... And then there is in the end no new tiddler, and no evidence of the image i tried to import.
Hi Mark S.,> I'm not sure what you mean. It works with the single file HTML when using TiddlyDesktop. You could use TD until you've imported your images.Yes, I mean the single HTML file. Iirc TD is an .exe and works with nw.js.
On 2 Jan 2021, at 18:00, ludwa6 <wlud...@gmail.com> wrote:
Correct, @Jeremy : If you mean by "main window" the one that launches on startup, which displays the several wikis i am managing with TiddlyDesktop, that's not the one...
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5d3bf4bf-f02d-436f-9720-18c02374c29bn%40googlegroups.com.
However: Instead of the new tiddler being created with a clickable URL- like "file:///Users/walterludwick/Downloads/5.jpg" in this case -what appears on the saved tiddler is a broken image icon, and when i open the edit panel on that tiddler, i see that the "_canonical_uri" for that file is "../../../../../Downloads/5.jpg".

To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/53656b03-ec18-478d-a0b2-5efaf113b77an%40googlegroups.com.
Of those two config options, i chose "Use absolute paths for non-descendent attachments" because presumably the other option for DESCENDENT attachments is for images i want to reside inside the ./wiki/files folder -correct?
i'm also confused by some options that appear in the dialog box that appears when i drag-in a set of images for import. In the image the selection widget that appears (twice: once above and once below the list of images), beside the two buttons to either "Import" or "Cancel", there is a "Preview" pulldown menu, with the following options:
- Diff
- Diff (Fields)
- Fields
- Text
- Text (Raw)
The last is the default option, it works as i expect; have also tried the "Text" (w/o Raw) option, and it delivers the same result. I don't know what the other 3 options are for...
And i am still a bit mystified in general by the issue of where image (and other binary) files are stored, and where those file paths are stored in TW. The images that i load using this External Attachments plugin as described above reveal a path like [img[imagename.jpg]] -
as though they were stored in a subdirectory (i.e. ./files or ./images typically), tho they are not... And then i have other tiddlers i created some other time not using this widget, that have image refs like {{imagename.jpg}} -a couple of which are in fact stored in my ./wiki/files folder, and others of which are not. So where are they, i wonder? I'm guessing i probably embedded those images using the image tool in WSYWIG toolbar that accompanies the default content type in the tiddler edit form (can't remember now), but how can i find out where such image files are actually stored?
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a491ecb1-5f5b-4532-a620-d969ddc125a9n%40googlegroups.com.
<TW-DT_external_image-importDialog.jpeg>
I'm viewing that file (14.1mb) through DeveloperTools in my Chrome browser, and -though it's a lot to scroll through, and i may be missing something- i'm not seeing anything like the kind of inscrutable text that normally describes an image file -of which there are several multi-mb files embedded in this wiki, referenced using either [img[imagename.jpg]] or {{imagename.jpg}} notation. If those images are embedded in this file -or else referenced from it- i wish i knew where to look for it!