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/d7f6f187-92df-4e1e-bb8f-fc9218280d25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to