jQuery lightbox Plugin auf AGPL-Version gewechselt (fixes #12)
This commit is contained in:
parent
ab502ffa89
commit
e06f95874b
15 changed files with 244 additions and 126 deletions
|
@ -209,9 +209,10 @@ function showPreview(&$thumbinfo) {
|
|||
$scaledimagesize = getimagesize(realpath(GALLERYPREFIX .
|
||||
DIRECTORY_SEPARATOR .
|
||||
$scaledimage));
|
||||
printf("<a href=\"%s\" class=\"lightbox\" ><img id=\"contentimg\" src=\"%s%s%s\" alt=\"%s\" %s /></a>",
|
||||
$fullname, GALLERYPREFIX, DIRECTORY_SEPARATOR, $scaledimage,
|
||||
getImageLabel($galleryname, $basename), $scaledimagesize[3]);
|
||||
$label = getImageLabel($galleryname, $basename);
|
||||
printf("<a class=\"lightbox\" title=\"%s\" href=\"%s\" rel=\"lightbox\"><img id=\"contentimg\" src=\"%s%s%s\" alt=\"%s\" %s /></a>",
|
||||
$label, $fullname, GALLERYPREFIX, DIRECTORY_SEPARATOR,
|
||||
$scaledimage, $label, $scaledimagesize[3]);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue