projects
/
bizou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
A new hook to include head parts. A new hook to overload thumb function
[bizou.git]
/
functions.php
diff --git
a/functions.php
b/functions.php
index
7c67db7
..
630be00
100644
(file)
--- a/
functions.php
+++ b/
functions.php
@@
-32,6
+32,7
@@
function getImageLink($imageSimplePath)
}
}
+if (! function_exists('getPreview')) {
function getPreview($imgFile, $maxSize = THUMB_SIZE)
{
# example: data/myalbum/100.mypic.jpg
@@
-91,6
+92,7
@@
function getPreview($imgFile, $maxSize = THUMB_SIZE)
return $newImgFile;
}
+}
function getAlbumPreview($dir)
{