That's really cool - thanks for sharing! On Sun, 2 Apr 2023 at 19:36, Charlie Veniot <cj.ven...@gmail.com> wrote:
> Related TW script *in this post*, just below the video. > > https://youtu.be/NjE0MHsndE8 > > ``` > \define droppable-image-actions() > <$action-setfield $tiddler=<<actionTiddler>> $field="text" $value=""/> > <$action-setfield $tiddler=<<actionTiddler>> $field="_canonical_uri" > $value={{{ [<actionTiddler>split[/]last[]addprefix[./Graphics%20Samples/]] > }}}/> > <$action-setfield $tiddler=<<actionTiddler>> $field="type" $value={{{ > [<actionTiddler>split[/]last[]split[.]last[]addprefix[image/]] }}}/> > <$action-createtiddler $basetitle={{{ [<actionTiddler>split[/]last[]] }}} > $template=<<actionTiddler>>/> > <$action-deletetiddler $tiddler=<<actionTiddler>>/> > \end > > <$droppable actions=<<droppable-image-actions>>> > <div style="border:5px double blue;text-align:center;"> > <p>Drop image here</p> > </div> > </$droppable> > ``` > > -- > 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+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/aab7273a-7f53-4ce8-adc4-fdfdb03058b7n%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywiki/aab7273a-7f53-4ce8-adc4-fdfdb03058b7n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- simon.ba...@gmail.com -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CA%2B9aNS-hpf9ODvUh0QBZULeyDjq5RbcgBV%3DRF7jaEx_%2B2ST60g%40mail.gmail.com.