Aggregating images for a spotlight gallery by RegEx and http-Request

  1. $:/config/ViewTemplateBodyFilters/spotlight
    tagged $:/tags/ViewTemplateTitleFilter
[search[<pic]] [search[<pic]] +[limit[1]then[$:/plugins/spotlight/ViewTemplate/body]]
  1. $:/plugins/spotlight/ViewTemplate/body
\import [all[shadows+tiddlers]tag[$:/tags/Macro/View/Body]!is[draft]] [all[shadows+tiddlers]tag[$:/tags/Global/View/Body]!is[draft]]
\procedure spotlight-actions()
<$action-spotlight
	$images={{{ [<storyTiddler>_images[]format:titlelist[]join[ ]] }}}
	$start=<<dom-src>>
/>

\end

<$reveal tag="div" class="tc-tiddler-body" type="nomatch" stateTitle=<<folded-state>> text="hide" retain="yes" animate="yes">
<$eventcatcher $click=<<spotlight-actions>> selector="img" class="spotlight-mixmedia-example">

<$transclude tiddler={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/ViewTemplateBodyFilter]!is[draft]get[text]] :and[!is[blank]else[$:/core/ui/ViewTemplate/body/default]] }}} />

</$eventcatcher>
</$reveal>

Well is this how it should work? It’s my first attempt to the cascade-mechanism