projects
/
booh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
9e4d653
)
*** empty log message ***
author
gc
<gc>
Sun, 20 Mar 2005 22:34:12 +0000
(22:34 +0000)
committer
gc
<gc>
Sun, 20 Mar 2005 22:34:12 +0000
(22:34 +0000)
booh
patch
|
blob
|
history
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 + '"' : ''
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
end
def walk_source_dir