Changing image.png for importing images?

That’s looking very promising. As Tony mentions, the idea would be to be able to quickly change the name. Having a configured name is a good start.

For instance my stub name might be “lesson-27-9.png”, where the"9" needs to be changed to the location inside the instructional video for ease of cross-referencing. In this regards, Tony’s other point, about clicking on the title is pertinent. Right now, if you click on a name, it shows you what the image looks like, rather than opening up the title field for editing. You have to click on the special “pencil” icon to change the name. To me this is counter-intuitive. I already know what the image looks like. It would make more sense for the field to be clickable and there to be an image icon if I need to remember what the image looks like.

Thanks!

Yes, it is interesting how in the same activity we may face the two - one we know the image but want to name it, or we made a large collection and need to see the image before renaming them. In other cases when we drop into prose we are not at all concerned with the name now, but may be later in the future.

To make good workflows we should try and make it intuitive to deal with the different possible approaches. Allowing specific image or all image preview/rename actions will help. Including adding prefixes.

The point here is, that the code that I did create is long executed, when the $:/Import tidldler is shown. I don’t intend to change the core dialogues atm.

My code only takes care, that an image, that comes from the clipboard is renamed, before it hits the $:/Import tiddler. So you can copy / paste several screenshots into a wiki and the $:/Import mechanism lets you queue them.

User specific workflows can be implemented as plugins, that can use the same mechanism as I do.

If you drag & drop import several tiddlers from the filesystem, they already have a unique name. So in that case TW shouldn’t change the name at all.

That’s already possible, with the TW default $:/Import tiddler. You can click the “edit button” to change the name and you can click the “chevron” to open the tiddler preview, which shows the image.

Also here I don’t intend to create a UI for a special workflow. I only want to enable the queueing system, that isn’t possible at the moment.

Yes, that is true and not the problem.

Fine, my point is that eventually of we can make the workflow simple it will be used more.

I believe tiddlywiki is already a capture and organise machine. Its power is immense yet for new commers it does demand both the recognition of this and an understanding of tiddlywiki how to’s and mechanism’s to realise its full value.

Any way of allowing simplified (but sophisticated) solutions in this space will suite and capture a wider audience.

Hi foks,
I did just update all my plugins to TW 5.2.2 and the bundler-plugin got a new functionality, as described in the other post.

It’s important to “enable” the feature and adjust the settings according to your browser language in the control panel

:::

have fun!

3 Likes

@pmario - thank you. I tried some stuff on your demo site but got some issues, see github.

The first parameter is the default name, the browser creates. Defaults to: image.png … if your browser language setting is English.

The second parameter is used to create the new unique name.

Also see: Changing image.png for importing images? - #18 by pmario