Obvious question but are you sure they all have a value for the type field?

On Tuesday, September 5, 2017 at 7:07:11 AM UTC+10, kodomohimari wrote:
>
> Soo, started experimenting with my installation (TiddlyWiki on NodeJS on a 
> Raspberry Pi accessible through its external IP). Since I work with images 
> a lot, I decided to try setting a filter up to have their tiddlers exist 
> within a single folder (instead of all over the place) using this concept: 
> http://tiddlywiki.com/#Customising%20Tiddler%20File%20Naming.
>
> My code for the file named "$:/config/FileSystemPaths" is below:
>
> [type[image/jpg]addprefix[images/]]
> [type[image/jpeg]addprefix[images/]]
> [type[image/png]addprefix[images/]]
> [type[image/gif]addprefix[images/]]
> [type[image/x-icon]addprefix[images/]]
> [type[image/svg+xml]addprefix[images/]]
>
> It works... but only partially, which is unnerving. Some .JPG images 
> apparently aren't caught in the filter at all upon importing, and their 
> files and metadata land in the tiddlers/ folder (instead of tiddlers/image/ 
> folder). I'm not sure what makes them different from the other images that 
> do get caught in the filter (regardless of whether they're caught, they do 
> appear as image/jpeg when examined through TiddlyWiki).
>
> Is there any known reason why the filters might fail for some images, but 
> not for others?
>
> (Just for the sake of data: one image that doesn't trip the filter is 
> called IMG_0650.JPG, another that does trip it is called IMG_0637.JPG - so 
> as far as I can tell this isn't just a matter of filename.)
>
> As a sidenote, is there any way to apply filters retroactively? For 
> instance, if I create a tag called "map" and apply to a bunch of already 
> imported images (or even just tiddlers), can I then apply a filter to move 
> the tiddlers with that tag to a tiddlers/map/ folder?
>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/ef40f20d-6b41-4bcf-b2b9-cea8051997d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to