I'm referring to this old post:
http://groups.google.com/group/tiddlywiki/browse_thread/thread/67f29776a1747987/#

Currently, Tiddlywiki has the capability to define a local folder for
backups.  Could the same thing be done for defining a local folder for
images when running Tiddlywiki locally, except that it would work as a
var in the paths of your images?  This way, when you run locally, all
of your images would display (provided they were in the proper folder).
 Also, could the same thing be done for running online, say if you
uploaded all of your images to http://www.mywebsite.com/imgs/ - if so,
you could toggle your Tiddlywiki back and forth depending on how you
were using it and still have access to all your images...


Seen Eric's excellent http://www.TiddlyTools.com/#AttachFilePlugin
actually I realize that this is not the answer to the question, but the
idea is still very useful.

Based on that, I made a simple plugin that adds further processing
to the img formatter's handler. When TiddlyWiki is opened locally URL
images are built using the local path, when TiddlyWiki is opened from
the web, the remote path is applied. This is very useful while using
Tiddlyspot as host for your TW and need to work/update from a local copy.

Here is the code:
http://tiziano.tiddlyspot.com/#RemoteImgPathPlugin

Comments are welcome...
--
tiziano de togni
______________________________________
http://digilander.libero.it/tizzziano/
http://tiziano.tiddlyspot.com


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

Reply via email to