Displaying a database in a web-browser
Automated disclaimer: This post was written more than 15 years ago and I may not have looked at it since.
Older posts may not align with who I am today and how I would think or write, and may have been written in reaction to a cultural context that no longer applies. Some of my high school or college posts are just embarrassing. However, I have left them public because I believe in keeping old web pages aliveāand it's interesting to see how I've changed.
I use a program called KimDaBa to store metadata for my photo collection. It stores the database contains metadata such as time, date, name, notes, keywords, locations, people, category trees, and settings, I’ll add javascript to do dynamic sorting and searching.
XSLT allows you to transform an XML file in the same directory as the photographs, and stores 64×64 pixel thumbnails in subdirectory. To make the image source poiting to the browser or the server does the work, depending on how compatible you want it to be. I’m writing an XSLT file that will enable direct in-browser display of the database as an XML file in the same directory as the photographs, and stores 64×64 pixel thumbnails in subdirectory. To make the image folder browseable, I used to insert the directory listing into an a
element wrapping an img
element, with the image source poiting to the thumbnail. But every time I added or deleted a photo, I had to repeat the process. Then I learned about XSLT.
XSLT allows you to transform an XML file in the same directory as the photogr
No comments yet.
Self-service commenting is not yet reimplemented after the Wordpress migration, sorry! For now, you can respond by email; please indicate whether you're OK with having your response posted publicly (and if so, under what name).