From: tomo
Date: Tue, 19 Apr 2005 05:43:34 +0000 (+0000)
Subject: (album-write-html): Add new argument `lang'; add link for
X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=ecc538b9fbc92251aa538954b0ea10e4c5d4d1e8;p=elisp%2Falbum.git
(album-write-html): Add new argument `lang'; add link for
"../index.html".
(album-convert-image): Add new argument `lang'; generate thumbnail
images.
(album-convert-images): Add new argument `lang'; call
`album-make-thumbnails'.
(album-make-thumbnails): New function.
(album-convert-directory): Add new argument `lang'.
---
diff --git a/album.el b/album.el
index 529c188..4ab34eb 100644
--- a/album.el
+++ b/album.el
@@ -41,13 +41,17 @@
(/ (* width percent) 100.0)
(/ (* height percent) 100.0)))))
-(defun album-write-html (dest-dir image-url-prefix
+(defun album-write-html (dest-dir lang image-url-prefix
prev-file file next-file
prev-grade grade next-grade)
(with-temp-buffer
(insert
"\n")
+ (insert "\n")
(insert "
\n")
(insert (format "%s\n" file))
(insert "\n")
@@ -105,6 +109,8 @@
+[index]
+