diff --git a/css/grafiken/lightbox-btn-close.gif b/css/grafiken/lightbox-btn-close.gif deleted file mode 100644 index 33bcf51..0000000 Binary files a/css/grafiken/lightbox-btn-close.gif and /dev/null differ diff --git a/css/grafiken/lightbox-btn-next.gif b/css/grafiken/lightbox-btn-next.gif deleted file mode 100644 index a0d4fcf..0000000 Binary files a/css/grafiken/lightbox-btn-next.gif and /dev/null differ diff --git a/css/grafiken/lightbox-btn-prev.gif b/css/grafiken/lightbox-btn-prev.gif deleted file mode 100644 index 040ee59..0000000 Binary files a/css/grafiken/lightbox-btn-prev.gif and /dev/null differ diff --git a/css/jquery.lightbox-0.4.css b/css/jquery.lightbox-0.4.css deleted file mode 100644 index 5fa5b0f..0000000 --- a/css/jquery.lightbox-0.4.css +++ /dev/null @@ -1,101 +0,0 @@ -/** - * jQuery lightBox plugin - * This jQuery plugin was inspired and based on Lightbox 2 by Lokesh Dhakar (http://www.huddletogether.com/projects/lightbox2/) - * and adapted to me for use like a plugin from jQuery. - * @name jquery-lightbox-0.4.css - * @author Leandro Vieira Pinho - http://leandrovieira.com - * @version 0.4 - * @date November 17, 2007 - * @category jQuery plugin - * @copyright (c) 2007 Leandro Vieira Pinho (leandrovieira.com) - * @license CC Attribution-No Derivative Works 2.5 Brazil - http://creativecommons.org/licenses/by-nd/2.5/br/deed.en_US - * @example Visit http://leandrovieira.com/projects/jquery/lightbox/ for more informations about this jQuery plugin - */ -#jquery-overlay { - position: absolute; - top: 0; - left: 0; - z-index: 90; - width: 100%; - height: 500px; -} -#jquery-lightbox { - position: absolute; - top: 0; - left: 0; - width: 100%; - z-index: 100; - text-align: center; - line-height: 0; -} -#jquery-lightbox a img { border: none; } -#lightbox-container-image-box { - position: relative; - background-color: #fff; - width: 250px; - height: 250px; - margin: 0 auto; -} -#lightbox-container-image { padding: 10px; } -#lightbox-loading { - position: absolute; - top: 40%; - left: 0%; - height: 25%; - width: 100%; - text-align: center; - line-height: 0; -} -#lightbox-nav { - position: absolute; - top: 0; - left: 0; - height: 100%; - width: 100%; - z-index: 10; -} -#lightbox-container-image-box > #lightbox-nav { left: 0; } -#lightbox-nav a { outline: none;} -#lightbox-nav-btnPrev, #lightbox-nav-btnNext { - width: 49%; - height: 100%; - zoom: 1; - display: block; -} -#lightbox-nav-btnPrev { - left: 0; - float: left; -} -#lightbox-nav-btnNext { - right: 0; - float: right; -} -#lightbox-container-image-data-box { - font: 10px Verdana, Helvetica, sans-serif; - background-color: #fff; - margin: 0 auto; - line-height: 1.4em; - overflow: auto; - width: 100%; - padding: 0 10px 0; -} -#lightbox-container-image-data { - padding: 0 10px; - color: #666; -} -#lightbox-container-image-data #lightbox-image-details { - width: 70%; - float: left; - text-align: left; -} -#lightbox-image-details-caption { font-weight: bold; } -#lightbox-image-details-currentNumber { - display: block; - clear: left; - padding-bottom: 1.0em; -} -#lightbox-secNav-btnClose { - width: 66px; - float: right; - padding-bottom: 0.7em; -} \ No newline at end of file diff --git a/css/jquery.lightbox.css b/css/jquery.lightbox.css new file mode 100644 index 0000000..c248c18 --- /dev/null +++ b/css/jquery.lightbox.css @@ -0,0 +1,220 @@ +/* + * jQuery Lightbox Plugin (balupton edition) - Lightboxes for jQuery + * Copyright (C) 2008 Benjamin Arthur Lupton + * http://jquery.com/plugins/project/jquerylightbox_bal + * + * This file is part of jQuery Lightbox (balupton edition). + * + * jQuery Lightbox (balupton edition) is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * jQuery Lightbox (balupton edition) is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with jQuery Lightbox (balupton edition). If not, see . + * + * @name jquery_lightbox: jquery.lightbox.css + * @package jQuery Lightbox Plugin (balupton edition) + * @version 1.3.0-rc1 + * @date August 24, 2008 + * @category jQuery plugin + * @author Benjamin "balupton" Lupton {@link http://www.balupton.com} + * @copyright (c) 2008 Benjamin Arthur Lupton {@link http://www.balupton.com} + * @license GNU Affero General Public License - {@link http://www.gnu.org/licenses/agpl.html} + * @example Visit {@link http://jquery.com/plugins/project/jquerylightbox_bal} for more information. + */ + +html, body { margin: 0; padding: 0; height: 100%;} + +#lightbox, #lightbox-overlay { + position: absolute; + top: 0px; + left: 0px; + bottom:auto; + right:auto; + + z-index:100; + width:100%; + height:auto; + + text-align:center; + color:#333333; + + /* stop stupid conflicts */ + margin:0px; + padding:0px; + border:none; + outline:none; + line-height:0; + + /* general conflict stopper */ + text-decoration:none; + background:none; + word-spacing:normal; + letter-spacing:normal; + float:none; + clear:none; + display:block; +} + +#lightbox a, #lightbox a:link, #lightbox a:visited, #lightbox a:hover { + text-decoration:underline; + color:#999999; +} + +#lightbox-overlay { + z-index: 90; + background-color:#000000; + height: 100%; + position:fixed; +} +#lightbox-overlay-text { + text-align: right; + margin-right: 20px; + margin-top: 20px; + color: white; + font-size: 12px; + cursor: default; + line-height:normal; +} +#lightbox-overlay-text a, #lightbox-overlay-text a:hover, #lightbox-overlay-text a:visited, #lightbox-overlay-text a:link { + color:white; +} +#lightbox-overlay-text span { + padding-left:5px; + padding-right:5px; +} + +#lightbox img, #lightbox a img, #lightbox a { border:none; outline:none; } + +#lightbox-imageBox { + position:relative; + border:1px solid black;; + background-color:white; + width:400px; + height:400px; + margin:0 auto; +} + +#lightbox-imageContainer { + padding:1px; +} + +#lightbox-loading { + position:absolute; + top:40%; + left:0%; + height:25%; + width:100%; + text-align:center; + line-height:0; +} + +#lightbox-nav { + position:absolute; + top:0; + left:0; + height:100%; + width:100%; + z-index:10; +} +/* #lightbox-imageBox > #lightbox-nav { left: 0; } +#lightbox-nav a { outline: none; }*/ + + +#lightbox-nav-btnPrev, #lightbox-nav-btnNext { + display:block; + width:49%; + height: 100%; + background:transparent url("../images/blank.gif") no-repeat; /* Trick IE into showing hover */ + /* cursor:pointer; */ + zoom:1; /* who knows why? */ + + padding:0px; + margin:0px; +} +#lightbox-nav-btnPrev { + left:0; + right:auto; + float:left; +} +#lightbox-nav-btnNext { + left:auto; + right:0; + float:right; +} +/* +.preload_largeLink, #prevLink:hover, #prevLink:visited:hover { + background:url("../images/prev.gif") left 45% no-repeat; +} +.preload_nextLink, #nextLink:hover, #nextLink:visited:hover { + background:url("../images/next.gif") right 45% no-repeat; +} +*/ + +#lightbox-infoBox { + font:10px Verdana, Helvetica, sans-serif; + background-color:#FFFFFF; + margin:0 auto; + padding:0px; + + /* width: 100%; + padding: 0 10px 0; */ +} + +#lightbox-infoContainer { + padding-left:10px; + padding-right:10px; + padding-top:5px; + padding-bottom:5px; + color:#666; + + line-height:normal; + /* height:30px; */ +} +#lightbox-infoHeader { + width:100%; + text-align:center; +} +#lightbox-caption { + text-align:justify; +} +#lightbox-caption-title { + font-weight:bold; +} +#lightbox-caption-description { + font-weight:normal; +} + +#lightbox-infoFooter { + margin-top:3px; + color:#999999; +} +#lightbox-currentNumber { + display:block; + width:49%; + float:left; + text-align:left; +} +#lightbox-close { + display:block; + width:45%; + float:right; + text-align:right; +} +#lightbox-close-button{ + padding-left:30%; +} +#lightbox-close-button:hover { + color:#666666; +} + +#lightbox-infoContainer-clear { + clear:both; + visibility:hidden; +} \ No newline at end of file diff --git a/css/grafiken/lightbox-blank.gif b/images/blank.gif similarity index 100% rename from css/grafiken/lightbox-blank.gif rename to images/blank.gif diff --git a/css/grafiken/lightbox-ico-loading.gif b/images/loading.gif similarity index 100% rename from css/grafiken/lightbox-ico-loading.gif rename to images/loading.gif diff --git a/images/next.gif b/images/next.gif new file mode 100644 index 0000000..6c40e51 Binary files /dev/null and b/images/next.gif differ diff --git a/images/prev.gif b/images/prev.gif new file mode 100644 index 0000000..51a31c2 Binary files /dev/null and b/images/prev.gif differ diff --git a/includes/galleryfunctions.php b/includes/galleryfunctions.php index ab165c8..2433c2d 100644 --- a/includes/galleryfunctions.php +++ b/includes/galleryfunctions.php @@ -209,9 +209,10 @@ function showPreview(&$thumbinfo) { $scaledimagesize = getimagesize(realpath(GALLERYPREFIX . DIRECTORY_SEPARATOR . $scaledimage)); - printf("\"%s\"", - $fullname, GALLERYPREFIX, DIRECTORY_SEPARATOR, $scaledimage, - getImageLabel($galleryname, $basename), $scaledimagesize[3]); + $label = getImageLabel($galleryname, $basename); + printf("\"%s\"", + $label, $fullname, GALLERYPREFIX, DIRECTORY_SEPARATOR, + $scaledimage, $label, $scaledimagesize[3]); break; } } diff --git a/index.php b/index.php index 8145fa4..6badbc6 100644 --- a/index.php +++ b/index.php @@ -51,13 +51,13 @@ $aquarelle = ($menu = 14); Bilderframework - - - - - - - + + + + + + +