Archived
1
0
Fork 0

allow embedded use (fixes #56)

This commit is contained in:
Jan Dittberner 2009-07-12 16:11:02 +00:00
parent 68ca59cac4
commit 050caa5830
4 changed files with 11 additions and 9 deletions

View file

@ -377,7 +377,7 @@ function getAllThumbnails(&$thumbinfo) {
$retval = array();
foreach ($thumbinfo[2] as $basename => $data) {
$retval[] = array('src' => $configuration['gallerydir'] . DIRECTORY_SEPARATOR . $data[0],
$retval[] = array('src' => $configuration['gallerypath'] . DIRECTORY_SEPARATOR . $data[0],
'sizes' => $data[1][3],
'alt' => getImageLabel($thumbinfo[1], $basename));
}