Strona 1 z 1

Galeria na forum

: 07 maja 2009, 09:09
autor: Smuger
Hej,

Zainstalowałem mod: phpbb_gallery_0_4_1 Wszystko działa bez problemu, lecz gdy wchodzę w:
http://test.gsmse.pl/gallery/index.php i klikam w zdjęcie, to powinno się maksymalizować.
A zamiast tego robi się duże pole na dole, i na końcu się otwiera.

przykład jak powinno się otwierać można zobaczyć tutaj: http://www.flying-bits.org/gallery/index.php

edit 10:29
Highslide już działa. W pliku overall_header.html trzeba dodac jedną linie:

ZNAJDŹ

Kod: Zaznacz cały

<script type="text/javascript" >
	if (window.addEventListener) {
		window.addEventListener("load",initLytebox,false);
	} else if (window.attachEvent) {
		window.attachEvent("onload",initLytebox);
	} else {
		window.onload = function() {initLytebox();}
	}
	function initLytebox() {
		var imgMaxWidth = 1280;
		var imgWarning = '';
		myLytebox = new LyteBox(imgMaxWidth, imgWarning);
	}
</script>
DODAJ PRZED:

Kod: Zaznacz cały

<link rel="stylesheet" type="text/css" href="{T_THEME_PATH}/gallery_lytebox.css" />
Lecz mam problem z ikonkami, klikając na zdjęcie powinny pojawić się strzałki (np. w lewo, w prawdo itd)
W ogóle się nie pokazują.

Re: Galeria na forum

: 07 maja 2009, 13:34
autor: pit
A masz te strzałki w "styles/prosilver/theme/images/gallery_lytebox"?

Re: Galeria na forum

: 07 maja 2009, 17:58
autor: Smuger
pit pisze:A masz te strzałki w "styles/prosilver/theme/images/gallery_lytebox"?
Tak są.

Re: Galeria na forum

: 07 maja 2009, 19:29
autor: wiesieks
A odświeżyłeś zestaw obrazów stylu w PA?

Re: Galeria na forum

: 07 maja 2009, 19:53
autor: Smuger
wiesieks pisze:A odświeżyłeś zestaw obrazów stylu w PA?
Owszem.

Na moje oko, to jest coś z stylem .css
Bo nie pokazuje się żadna grafika z tego moda.

Re: Galeria na forum

: 07 maja 2009, 20:21
autor: pit
Dodaj w stylach tam gdzie masz np.

Kod: Zaznacz cały

#lbNext.grey:hover, #lbNext.grey:visited:hover  {
background : url("./styles/prosilver/theme/images/gallery_lytebox/next_grey.gif") no-repeat right 15%;
} 
kropkę prze "./styles".

Re: Galeria na forum

: 07 maja 2009, 20:36
autor: Smuger
pit pisze:Dodaj w stylach tam gdzie masz np.

Kod: Zaznacz cały

#lbNext.grey:hover, #lbNext.grey:visited:hover  {
background : url("./styles/prosilver/theme/images/gallery_lytebox/next_grey.gif") no-repeat right 15%;
} 
kropkę prze "./styles".
Niestety nie działa : (

Re: Galeria na forum

: 07 maja 2009, 20:39
autor: pit
Działa działa.

Re: Galeria na forum

: 07 maja 2009, 20:42
autor: Smuger
Rzczywiscie :)
Dzieki wielkie

Re: Galeria na forum

: 10 maja 2009, 10:18
autor: Smuger
Niestety, wszystkie obrazki w pełni nie działają. Nie rozumiem tego :/ Załączam plik style od tej galerii

Kod: Zaznacz cały

#lbOverlay { position: fixed; top: 0; left: 0; z-index: 99998; width: 100%; height: 500px; }
#lbOverlay.grey { background-color: #000000; }

#lbMain { position: absolute; left: 0; width: 100%; z-index: 99999; text-align: center; line-height: 0; }
#lbMain a img { border: none; }

#lbOuterContainer { position: relative; background-color: #fff; width: 200px; height: 200px; margin: 0 auto; }
#lbOuterContainer.grey { border: 3px solid #888888; }

#lbDetailsContainer {	font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; width: 100%; line-height: 1.4em;	overflow: auto; margin: 0 auto; }
#lbDetailsContainer.grey { border: 3px solid #888888; border-top: none; }

#lbImageContainer, #lbIframeContainer { padding: 10px; }
#lbLoading {
	position: absolute; top: 45%; left: 0%; height: 32px; width: 100%; text-align: center; line-height: 0; background: url("./styles/prosilver/theme/images/gallery_lytebox/loading.gif") center no-repeat;
}

#lbHoverNav { position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#lbImageContainer>#lbHoverNav { left: 0; }
#lbHoverNav a { outline: none; }

#lbPrev { width: 49%; height: 100%; background: transparent url("./styles/prosilver/theme/images/gallery_lytebox/blank.gif") no-repeat; display: block; left: 0; float: left; }
#lbPrev.grey:hover, #lbPrev.grey:visited:hover { background: url("./styles/prosilver/theme/images/gallery_lytebox/prev_grey.gif") left 15% no-repeat; }

#lbNext { width: 49%; height: 100%; background: transparent url("./styles/prosilver/heme/images/gallery_lytebox/blank.gif") no-repeat; display: block; right: 0; float: right; }
#lbNext.grey:hover, #lbNext.grey:visited:hover { background: url("./styles/prosilver/theme/images/gallery_lytebox/next_grey.gif") right 15% no-repeat; }

#lbPrev2, #lbNext2 { text-decoration: none; font-weight: bold; }
#lbPrev2.grey, #lbNext2.grey, #lbSpacer.grey { color: #333333; }

#lbPrev2_Off, #lbNext2_Off { font-weight: bold; }
#lbPrev2_Off.grey, #lbNext2_Off.grey { color: #CCCCCC; }

#lbDetailsData { padding: 0 10px; }
#lbDetailsData.grey { color: #333333; }


#lbDetails { width: 60%; float: left; text-align: left; }
#lbCaption { display: block; font-weight: bold; }
#lbNumberDisplay { float: left; display: block; padding-bottom: 1.0em; }
#lbNavDisplay { float: left; display: block; padding-bottom: 1.0em; }

#lbClose { width: 64px; height: 28px; float: right; margin-bottom: 1px; }
#lbClose.grey { background: url("./styles/prosilver/theme/images/gallery_lytebox/close_grey.png") no-repeat; }

#lbPlay { width: 64px; height: 28px; float: right; margin-bottom: 1px; }
#lbPlay.grey { background: url("./styles/prosilver/theme/images/gallery_lytebox/play_grey.png") no-repeat; }

#lbPause { width: 64px; height: 28px; float: right; margin-bottom: 1px; }
#lbPause.grey { background: url("./styles/prosilver/theme/images/gallery_lytebox/pause_grey.png") no-repeat; }

/*end of lightbox*/

.gallery-icon, .gallery-icon a		{ background: none top left no-repeat; }
ul.profile-icons li.gallery-icon	{ width: 20px; height: 20px; }
.gallery-icon, .gallery-icon a		{ background-image: url("./imageset/icon_contact_gallery.gif"); }

.buttons div.upload-icon	{ width: {IMG_BUTTON_UPLOAD_IMAGE_WIDTH}px; height: {IMG_BUTTON_UPLOAD_IMAGE_HEIGHT}px; }
.upload-icon span	{ background-image: url("./styles/prosilver/imageset/pl/button_upload_image.gif"); }

.icon-gallery {
	background-position: 0 50%;
	background-repeat: no-repeat;
	padding: 1px 0 0 17px;
	background-image: url("./styles/prosilver/theme/images/icon_gallery.gif");
}

dd.g_lastimage {
	padding-left: 5px;
	width: 30%;
}

dd.g_rating, dd.g_comments {
	width: 12%;
	text-align: center;
	font-size: 1.1em;
}

dd.g_status {
	width: 15%;
	text-align: center;
	font-size: 1.1em;
}

span.reported-images-number {
	color: red;
}

.g_unapproved {
	background-position: 100% 0;
	background-repeat: no-repeat;
	background-image: url("./styles/prosilver/imageset/icon_gallery_unapproved.gif");
}

.g_locked {
	background-position: 100% 0;
	background-repeat: no-repeat;
	background-image: url("./styles/prosilver/imageset/icon_gallery_locked.gif");
}

.g_reported {
	background-position: 100% 0;
	background-repeat: no-repeat;
	background-image: url("./styles/prosilver/imageset/icon_gallery_reported.gif");
}