Haven't tested this, but it should work both to allow you to use the subfilter clause, and to get rid of the checkbox about system tiddlers. Put it in a tiddler and tag it $:/tags/Macro. Then change your macro-call to image-picker2.
Good luck! Mark Oh, and is Voyager smaller or larger than the Defiant? \define image-picker2(actions,filter:"[all[shadows+tiddlers]is[image]] -[type[application/pdf]] +[!has[draft.of]$subfilter$sort[title]]",subfilter: "") <div class="tc-image-chooser"> <$vars state-system=<<qualify "$:/state/image-picker/system">>> <$reveal state=<<state-system>> type="match" text="hide" default="hide" tag= "div"> <$macrocall $name="image-picker-list" filter="""$filter$ +[!is[system]]""" actions="""$actions$"""/> </$reveal> <$reveal state=<<state-system>> type="nomatch" text="hide" default="hide" tag="div"> <$macrocall $name="image-picker-list" filter="""$filter$""" actions="""$actions$"""/> </$reveal> </$vars> </div> \end On Saturday, July 15, 2017 at 10:19:21 AM UTC-7, David Allen wrote: > > Thanks! > > Also, do you know if there's a way to remove the "Include System Tiddlers" > checkbox? > > On Saturday, July 15, 2017 at 10:37:21 AM UTC-5, Mark S. wrote: >> >> It looks like the image picker code was changed, and the subfilter option >> was dropped without a corresponding change in the documentation. I imagine >> this was by accident. There's no subfilter, but there's a filter option. >> For the filter option you'll need to roll your own long filter. For >> instance, this does what you want to limit the image by prefix: >> >> filter="[all[shadows+tiddlers]is[image]prefix[Image_A]!has[draft.of]] >> -[type[application/pdf]] +[sort[title]]" >> >> >> Meanwhile, I've made an issue report >> #2939 >> >> >> Have fun, >> >> Mark >> >> On Saturday, July 15, 2017 at 8:03:27 AM UTC-7, David Allen wrote: >>> >>> No, they do not all have category fields. This problem persists even >>> with something as simple as the prefix filter. >>> >>> I've attached a wiki that is demonstrating the problem. >>> >>> On Saturday, July 15, 2017 at 2:13:48 AM UTC-5, David Allen wrote: >>>> >>>> For some reason, I can't seem to get the subfilter parameter of the >>>> image-picker macro to work. >>>> >>>> Here's my code: >>>> >>>> <$set name=fish filter="[title{!!theImage}get[category]first[]]"> >>>> <div> >>>> >>>> <<fish>> >>>> >>>> <$image class="modal_image" source={{!!theImage}}/> >>>> >>>> >>>> </div> >>>> <$macrocall $name='image-picker' actions=" >>>> <$action-setfield $field=theImage $value=<<imageTitle>>/> >>>> " subfilter="has[category]"/> >>>> </$set> >>>> >>>> The thing with the variable fish is something I'll mess with later. >>>> >>>> Right now, I should only be seeing three images in the image picker, >>>> but I'm seeing all of them. I'm fairly certain I'm using the image-picker >>>> macro as shown in the tiddlywiki site, I'm just not sure what I'm doing >>>> wrong. >>>> >>> -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7f764b97-6abe-42bb-8382-cded98debdc5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.