A new hook to include head parts. A new hook to overload thumb function
This commit is contained in:
parent
e5061f2316
commit
1ff8c2ce1e
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -44,6 +44,7 @@ a {
|
|||
<?php foreach ($plugins as $p) if (is_file("plugins/$p/style.css")) { ?>
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo $rootUrl."plugins/$p/style.css" ?>" />
|
||||
<?php } ?>
|
||||
<?php plugins_include("head.php") ?>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
|
Loading…
Reference in a new issue