FileDropPlugin, a question

31 views
Skip to first unread message

fred....@gmail.com

unread,
Jan 7, 2008, 9:00:32 PM1/7/08
to TiddlyWiki
Hello all,

A question, what would I change to get sort of an auto state LocalFile
as images/filename image if dropping files from that location?

Thanks as always..




Eric Shulman

unread,
Jan 7, 2008, 9:34:42 PM1/7/08
to TiddlyWiki
> A question, what would I change to get sort of an auto state LocalFile
> as images/filename image if dropping files from that location?

If I understand your question, try adding these:

http://www.TiddlyTools.com/#FileDropPluginConfig
http://www.TiddlyTools.com/#AttachFilePlugin
http://www.TiddlyTools.com/#AttachFilePluginFormatters

With these installed, dropping an image file (gif/jpg/png) onto your
document will automatically create an 'attachment tiddler' that
contains a reference to the path/filename of the dropped file. You
can then use
[img[NameOfAttachmentTiddler]]
instead of the standard
[img[path/filename.jpg]]

Note: once you have attached an image, you don't need to keep
AttachFilePlugin installed... all you need is
AttachFilePluginFormatters, which provides the functions to *render*
the attachment as an embedded image.

HTH,
-e
Eric Shulman
TiddlyTools / ELS Design Studios


Reply all
Reply to author
Forward
0 new messages