Hi Jeremy,

I'm assuming (perhaps incorrectly) that when you drag/drop a link from a FF 
link (not from Windows explorer) that FF exposes more information. Here's 
what shows up after a drag/drop/import sequence from a Firefox tab being 
used as a local file browser:

 
   Untitled 1  
  
    file:///d:/data/Proj/PhotoScrapbook/origs/%7B040%7DIM-3837.jpg

So, there's more there than just a file name. The "file:///" should provide 
a clue that this is a file (not ordinary text) and the suffix indicates 
that it is an image.


Thanks!

Mark



On Thursday, November 6, 2014 10:52:14 AM UTC-8, Jeremy Ruston wrote:
>
> Hi Mark
>
> It is possible to open a file browser in a firefox tab and then drag/drop 
>> file names from there. However, they are imported as "untitled" tiddlers 
>> and have to be massaged into usable links. Obviously, FF does allow access 
>> to the file path name when dragging from another FF tab.  So a good 
>> compromise solution to my way of thinking would be if TW could turn those 
>> drag/drops into usable file or image links.
>>
>
> Are you asking for the import handling to recognise that dragged text 
> resembles a file path and treat it differently? I do wonder if that might 
> not cause problems; a word like "jeremy" is a valid file path after all.
>
> Best wishes
>
> Jeremy.
>
>  
>
>>
>>
>> Mark
>>
>>
>>
>> On Tuesday, November 4, 2014 10:26:56 PM UTC-8, Blake Blacksmith wrote:
>>>
>>> Instead of drag and drop being limited to full binary imports of a 
>>> file(which bloats the Wiki and makes editing files cumbersome) is there a 
>>> way to drag and drop a file that is within a TiddlyWiki's folder and have 
>>> it expressed as a local file link? 
>>>
>>> For clarity here is an example:
>>>
>>> I have a TW in folder "*Wiki*" and an image in "*Wiki/images/*". Could 
>>> we make is so that when we drag and drop the image "
>>> *Wiki/images/bunnies.jpg*" into a text area TW checks that the file is 
>>> within its folder (in this case in "Wiki") and if it is have the relative 
>>> link text *[[file:./Wiki/images/bunnies.jpg]]* show up and if it not 
>>> have the absolute link text show up 
>>> *[[file:/C:/Users/Me/Wiki/images/bunnies.jpg]]*
>>>
>>>
>>> Right now I am manually inserting relative links but this is very time 
>>> consuming when I must link many files into a Tiddlers text. I currently do 
>>> not have the time to make my own plugin that does this but think such a 
>>> plugin would extend the use-cases of TW to in-the-field/real time  note 
>>> taking.
>>>
>>>
>>>  -- 
>> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Jeremy Ruston
> mailto:[email protected] <javascript:>
>  

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to