angjerden / nihon

Nihon is an attempt at making a web-based picture, sound and video-monstrator.
GNU General Public License v2.0
0 stars 0 forks source link

Script to prepare images and generate images.js #3

Open angjerden opened 10 years ago

angjerden commented 10 years ago

Images.js is now manually written, but it would be more convenient to have images.js be generated from the images present in the image folder

angjerden commented 10 years ago

Unless the image retrieval will be done with Ajax, Javascript cannot locate the image files by itself, so images.js is needed.

angjerden commented 10 years ago

I have now written a python script to generate images.js based on the images in /res/images/. No metadata extraction is done at the moment.