Ability to add image on PC/Mac

How could Trunk be improved?

Ability to add image on PC/Mac

Postby Peri » Wed Mar 31, 2010 6:41 am

The application is great. However, what I really miss is easy way to add an image. I would prefer to do it on PC or Mac. Please help. Thanks,
Peri
Peri
 
Posts: 1
Joined: Tue Mar 30, 2010 8:11 am

Re: Ability to add image on PC/Mac

Postby Claus » Mon Dec 06, 2010 3:23 pm

This is something i would really like to see too! :idea:
I just created my first Wiki and it would have been a lot easier if i could have added pictures using the Dropbox syncing.
But instead, i had to upload the pics i wanted to insert into the Wiki to the iphone, create a link in the Wiki to the pics so they are added to Trunk Notes, and then rename the pics. :cry:

Since Trunc Notes already supports Dropbox, wouldn't it be possible to add Pictures by putting them into the truncsync/files folder? :?:
Claus
 
Posts: 3
Joined: Mon Dec 06, 2010 3:14 pm

Re: Ability to add image on PC/Mac

Postby mgkennard » Mon Dec 06, 2010 10:47 pm

Files from the trunksync/files directory are only downloaded if there is also a corresponding File:filename.png note in the notes directory. All files (images, sounds) need to have one of these. It would be fairly easy to fabricate one of these and have Trunk Notes pick up the images. However this would be fiddly. I will have a think as to how this could be made easier.

Matthew
Apps On The Move
mgkennard
Site Admin
 
Posts: 758
Joined: Mon Jul 21, 2008 2:40 pm

Re: Ability to add image on PC/Mac

Postby Claus » Tue Dec 07, 2010 6:08 pm

It would be fairly easy to fabricate one of these and have Trunk Notes pick up the images.

Actually, it is not :(
In Windows, the colon (":") is not allowed in the filename :!:

I can't even create a filename with a colon using the Dropbox Webpage.
And none of the notes containing a colon ("Snippet:...", "Special:...") is synced to the Windows folder.
Claus
 
Posts: 3
Joined: Mon Dec 06, 2010 3:14 pm

Re: Ability to add image on PC/Mac

Postby tub78 » Wed Dec 08, 2010 6:42 am

On a Mac, you can substitute a forward slash "/" for a colon within a "Save As:" dialog, or when editing a filename in the Finder. Or just type "\:" in the Terminal. This way, you can create and upload notes with colons in their names.

Uploading images from a Mac to the iPad is fiddly, but possible.

Here's what worked for me USING TRUNKSYNC.PY. Can somebody (with a backup) check this for Dropbox sync?

1) Copy the image, say testimage.png, to the directory where images are stored locally (see trunksync docs)
2) Create a new note called "File:testimage.png.txt" in the directory where notes are stored locally
3) Edit the note to display "Title: File:testimage.png" on the first and only line
4) Sync

Note that trunksync.py typically initializes the header fields of notes created locally. However, trunksync.py uses a slightly different convention and appends ".txt" to the end of the Title field above. This, unfortunately, disables the image display within the note.

Actually, with trunksync.py at least, the note's filename can be anything "BlahBlahBlah.txt", as long as the Title field is included. I don't recommend this, because you will have to remember two names for the same logical note: the local filename, and the iPad name given in the Title field. Another danger is overwriting notes after copying files locally, e.g. BlahBlahBlah2.txt, if you forget to change the Title header field as well.

- Stu
tub78
 
Posts: 27
Joined: Wed Oct 13, 2010 4:20 am


Return to Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest

cron