Dynamic Photo Album

163 views
Skip to first unread message

Jon Cramer

unread,
Mar 21, 2017, 12:27:52 PM3/21/17
to TiddlyWiki
Hello All,

I am currently working on a project using TiddlyWiki for a college course at SUNY Polytechnic Institute. I will be creating a dynamic photo album of my daughter's first 4 years by adding dynamic navigation. Users will be able to filter by Age, Activity, and Season based on tags, and have the ability to navigate photos using first, previous, next, last controls.

I am looking for a way to import multiple photos at once to save some time. If anyone has an idea of how I would do this I would greatly appreciate some feedback. Thanks in advance!

Jon

Atul Grover

unread,
Mar 23, 2017, 4:19:05 AM3/23/17
to TiddlyWiki
Hi Jon,

Are you planning to import the photos from an external folder or are you dragging the photos in TW?

FMLK...(from my limited knowledge). If you are dragging the photos then TW will automatically import the images as svg.

In case you are linking them from external folder then 
1. Open an excel sheet
2. Add details of the tiddlers with links to the images in the text field
3. Drop the excel sheet into TW using xslt plugin

Atul

Jed Carty

unread,
Mar 23, 2017, 7:49:23 AM3/23/17
to TiddlyWiki
unfortunately I think that the answer to how to do this is to use some external program like Atul suggested. Perl and bash could both create either .tid files with _canonical_uri or a singe json file containing all of them that you could then import, but writing the script would require a bit of coding knowledge.

@TiddlyTweeter

unread,
Mar 23, 2017, 9:07:10 AM3/23/17
to tiddl...@googlegroups.com
Ciao Jon

I think Jed & Atul are right that using an external program is likely the best way to go.

I would like to add: Depending on what type of graphic files they are they may contain useful meta-data (title, subject, date of shot etc. anything you want, really) that can help you generate all you need.

FWIW, for something like this I would initially use an EXIF editor to embed needed data into the photos themselves. Then use an EXIF data extractor to pull it out into some form, like XLSX, that can be imported as one record per photo. All the Tiddler fields would then be ready populated with what you need.

Likely the critical factor is HOW MANY are there? Whether its worth gong through this process rather than doing them one by one. 

Best wishes
Josiah

BJ

unread,
Mar 23, 2017, 10:52:09 AM3/23/17
to TiddlyWiki
if you use firefox or chrome there is an extension called tiddlyclip that can create a 'canonical' tiddler for a photo with a single click,
http://tiddlyclip.tiddlyspot.com/#Creating%20Local%20Media%20Links
cheers
BJ
Reply all
Reply to author
Forward
0 new messages