*** empty log message ***
authorgc <gc>
Sun, 20 Mar 2005 22:34:12 +0000 (22:34 +0000)
committergc <gc>
Sun, 20 Mar 2005 22:34:12 +0000 (22:34 +0000)
booh

diff --git a/booh b/booh
index 43857b95e553c907f754587b190821a4269a6e46..abe8442d59a6ed382dbb2e2a1526e3ba357d41bd 100755 (executable)
--- a/booh
+++ b/booh
@@ -441,7 +441,7 @@ end
 
 def img_element(fullpath)
     sizespec = `identify '#{fullpath}'` =~ / JPEG (\d+)x(\d+) / ? 'width="' + $1 + '" height="' + $2 + '"' : ''
-    return '<img src="' + fullpath + '" ' + sizespec + ' border="0"/>'
+    return '<img src="' + File.basename(fullpath) + '" ' + sizespec + ' border="0"/>'
 end
 
 def walk_source_dir