A way of creating tiddler thumbnail views

151 views
Skip to first unread message

Charlie Veniot

unread,
Jun 12, 2022, 7:21:51 PM6/12/22
to TiddlyWiki
Download the attached and drag into TiddlyWiki.com

This will add the "Thumbnail HelloThere" tiddler, which transcludes the HelloThere tiddler but displays it as a thumbnail (a pretty big thumb, but still small compared to normal size).

For the giggles, the new tiddler also shows in the sidebar.


Thumbnail HelloThere.json

Charlie Veniot

unread,
Jun 12, 2022, 7:30:51 PM6/12/22
to TiddlyWiki
If you want to disable the content in the DIV (i.e. have the content as display only), I think adding pointer-events: none; (as per the following modification) will do the trick:

```
<div style="-webkit-transform:scale(0.35);-moz-transform-scale(0.35);overflow:auto;width:500px;height:500px;border:1px solid blue;-moz-transform-origin: top left; -webkit-transform-origin: top left; -o-transform-origin: top left; -ms-transform-origin: top left; transform-origin: top left;pointer-events: none;">
<$transclude tiddler="HelloThere" mode="inline"/>
</div>

```

Charlie Veniot

unread,
Jun 12, 2022, 7:56:25 PM6/12/22
to TiddlyWiki
Well, that last suggestion is probematic if one wants to allow scrolling in the thumbnail.

Just because I couldn't let it go for supper break, I think attached is pretty cool for a thumbnail of content that allows scrolling without allowing clicking on any content.

Required double-DIV's.
Thumbnail HelloThere.json

Brian Radspinner

unread,
Jun 13, 2022, 1:56:19 AM6/13/22
to TiddlyWiki
I messed around with your initial attachment to try to get something that could be used as a tiddler gallery, or a way to display tiddler thumbnails inside a PowerPoint-like presentation tool in TW. Here is what I got...

thumbnails.jpg

I attached my edited code if anyone wants to play around with it too
CJV-TiddlerThumbnails.json

Charlie Veniot

unread,
Jun 13, 2022, 6:55:00 AM6/13/22
to TiddlyWiki
Hot damn, Brian.  You took a rough prototype and made something right frigging lovely, end result and organization of the background code.

That's good stuff.

Charlie Veniot

unread,
Jun 13, 2022, 8:00:26 AM6/13/22
to TiddlyWiki
Just as cognitive helpers for stuff that, strangely, causes me some batpoop silly challenges.

I made just some minor tweaks, as per comments I added in the tiddler:
  • added ability to scroll the thumbnail content
  • changed the link to a button, with a link emoji (just to remind me I can click on the thing) and a darker and bold font than the TiddlyWiki default
    • the button opens the tiddler in a modal; a moving story river annoys me, so modals help out

Next version: a transclusion mechanism to handle `{{ [regexp[whatever]] || CJV Tiddler Thumbnails}}` for any kind of valid filter.

Yeah, same thing could be done with a macro, but I prefer transclusion syntax for some reason.  Don't know why.  I think, maybe, because when I read it left to right ("I want this thing, formatted this way"), it makes more sense to me than "I want this format applied to this thing".


On Monday, June 13, 2022 at 2:56:19 AM UTC-3 Brian Radspinner wrote:
CJV Tiddler Thumbnails (Charlie Edition).json
Reply all
Reply to author
Forward
0 new messages