On Sep 16, 8:35 am, Zans Mihejevs <[email protected]> wrote:
> Actually I did some messing around with the code and managed to sort
> it by myself. Thanks for all the help :)

> > > > However, one problem with the plugin that I've encountered is that
> > > > when I drop my images into Tiddlywiki the Plugin generates a lot of
> > > > 'extra' stuff such as:
>
> > > > !usage
> > > > {{{[img[SDC15489.JPG.jpg]]}}}
> > > > [img[SDC15489.JPG.jpg]]
> > > > !notes
> > > > attached by FileDropPlugin
> > > > !type
> > > > image/jpeg
> > > > !file
> > > > ./Pictures/Krim/SDC15489.JPG.jpg
> > > > !url
> > > > !data

You can change the format generated by AttachFilePlugin, by adding a
separate configuration tiddler (e.g., [[AttachFilePluginConfig]]),
tagged with systemConfig, containing something like:
---------
config.macros.attach.tiddlerFormat='!usage\n{{{%0}}}\n%0\n!notes\n%1\n!
type\n%2\n!file\n%3\n!url\n%4\n!data\n%5\n';
---------

the default formatting string is shown above, where:
%0 = usage example
%1 = notes
%2 = mime type
%3 = local path/filename
%4 = URL (file:, http:, or https:)
%5 = base64 data URL (data:)

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to