Page 6 of 8

Posted: Sun 7. Jan 2007, 20:54
by culda_a
OK THANKS

where do I get the changes ?

Posted: Sun 7. Jan 2007, 23:35
by Fulvio Romanin
i'm interested too, please :)

Posted: Mon 8. Jan 2007, 05:03
by breitsch
'OK THANKS' he wrote! :(

I fixed most of the bugs now.
AND I included Highslide JS 2.2.7 as well, so now you have all the three options: lightbox, slideshow, highslide - it just depends on the little HTML-container placed in the article.

see examples:
http://web.casa-loca.com/index.php?lightbox

Of course it's not the Rolls-Royce, it's just a little VW!
The Rolls-Royce would be to have it included in the CP-Images as described here:
http://www.phpwcms.de/forum/viewtopic.p ... 0&start=59
It's much easier for non-html-css-users (just fill the controls in backend) and, more important, it's much faster because it's rendered with the site at once.

Because Highslide JS is not free for commercial use I can not distribute the script for free!
You have to confirm me/highslide that you use it for non-commercial use only!
PM me or e-mail me or send a message from my website:
http://web.casa-loca.com/index.php?contact
:) there is a paypal-button as well :)
including the required confirmation of free or commercial use.
Then you get further infos and the link to download the files with an instruction for installation. Note, that the highslide-file-pack you have to download from their website, however.

Some problems ...

Posted: Mon 8. Jan 2007, 21:08
by jupiterj
My installation of the lightbox failed.

The problem is, that the Site doesn´t find the Java-Scripts.

I implemeted the following line in lightbox.php (after the line: preg_match_all($searchcp,$content["all"],$matchcp, PREG_PATTERN_ORDER);)

Code: Select all

$phpwcms["templates"] = TEMPLATE_PATH;
and

changed the line

Code: Select all

$block["htmlhead"] .="<link href=\"".$phpwcms['templates']."/inc_app/lightbox/css/lightbox.css\" rel=\"stylesheet\" type=\"text/css\" />\n";
into

Code: Select all

$block["htmlhead"] .="<link href=\"".$phpwcms['templates']."inc_app/lightbox/css/lightbox.css\" rel=\"stylesheet\" type=\"text/css\" />\n";
(I deleted "/" near "inc_app/lightbox/css/lightbox.css\"

With these changes my installation is working (GREAT).

Posted: Mon 8. Jan 2007, 21:29
by culda_a
Hi breitsch, I like the idea of the slideshow how you made it... I have only one question : is it possible to keep the effect with the black screen when you press on the picture, and to have always visible 2 arrows with next and preview down by the close buton?

aditional question: is it possible to change the color from the background effect?
Thanks a lot

Posted: Mon 8. Jan 2007, 21:46
by jupiterj
Hi breitsch,

how do you integrated the option: "Caption only in Popup?"
I use the lightbox and I want to display the captions (Bildunterzeile) only in the popup and not on the normal page.

Posted: Mon 8. Jan 2007, 21:54
by jupiterj
Hi culda_a,
aditional question: is it possible to change the color from the background effect?
I think you talk about the default black transparent background:

Goto lightbox.css and search for

Code: Select all

#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
	filter:alpha(opacity=60);
	-moz-opacity: 0.6;
	opacity: 0.6;
	}
Then change

Code: Select all

background-color: #000;
like

Code: Select all

background-color: #F00;

Posted: Mon 8. Jan 2007, 22:09
by breitsch
culda_a wrote:Hi breitsch, I like the idea of the slideshow how you made it... I have only one question : is it possible to keep the effect with the black screen when you press on the picture, and to have always visible 2 arrows with next and preview down by the close buton?
1. No, 'the effect with the black screen' is not possible with the slideshow!
I guess what makes lightbox so cool is the transitions between the images. This doesn't make sense when you only have 1 pic to show. I think in this case the highslide js effect is better.

2. if you prefer arrows, that wouldn't be a problem
jupiterj wrote:how do you integrated the option: "Caption only in Popup?"
I use the lightbox and I want to display the captions (Bildunterzeile) only in the popup and not on the normal page.
only possible with my script-hack!

Posted: Mon 8. Jan 2007, 22:19
by culda_a
2. if you prefer arrows, that wouldn't be a problem
ok but is it possible to be the arrows always visible>?

Posted: Mon 8. Jan 2007, 22:23
by breitsch
animated as the imagenumbers

Posted: Tue 9. Jan 2007, 01:40
by culda_a
yes to be visible like the image numbers

Posted: Sat 13. Jan 2007, 00:32
by culda_a
So HOW do I make to be visible only the first image?

Fehelr in Lightbox

Posted: Sun 14. Jan 2007, 16:49
by prisma
Hi,

sorry, i c'ant english. My Problem is that i have follow problem:

Code: Select all

Parse error: parse error in /var/www/vhosts/xxx/subdomains/immo/httpdocs/template/inc_script/frontend_render/lightbox.php(70) : regexp code on line 1

Fatal error: Failed evaluating code: makelightbox('ZjY2MWUxMDBiMTA3ZTFjOGRjZjIzNDQwN2ZjMmM1ODYuanBnP3dpZHRoPSI1MzgiIGhlaWdodD0iMzMxIg%3D%3D','<img src=\"content/images/1fae90c67a8909c26c59387a46e01031.jpg\" width=\"450\" height=\"277\" border=\"0\" class=\"imagelistimg\" alt=\"kasetten.jpg\" />','<a href="image_zoom.php?show=ZjY2MWUxMDBiMTA3ZTFjOGRjZjIzNDQwN2ZjMmM1ODYuanBnP3dpZHRoPSI1MzgiIGhlaWdodD0iMzMxIg%3D%3D" onclick="checkClickZoom();clickZoom('image_zoom.php?show=ZjY2MWUxMDBiMTA3ZTFjOGRjZjIzNDQwN2ZjMmM1ODYuanBnP3dpZHRoPSI1MzgiIGhlaWdodD0iMzMxIg%3D%3D','previewpic','width=538,height=331');return false;"><img src="content/images/1fae90c67a8909c26c59387a46e01031.jpg" width="450" height="277" border="0" class="imagelistimg" alt="kasetten.jpg" /></a>','gallery_0') in /var/www/vhosts/xxx/subdomains/immo/httpdocs/template/inc_script/frontend_render/lightbox.php on line 70
what is the problem?

thanks prisma

In der zwischenzeit auf einer anderen Seite funktioniert es.

Posted: Sat 27. Jan 2007, 18:48
by flo
Hey hey... ich habe leider dasselbe Problem... Woran könnts liegen?

Code: Select all

Parse error: parse error, unexpected T_STRING in C:\Programme\Xampp\xampp\htdocs\public\musikemper\phpwcms\phpwcms_template\inc_script\frontend_render\lightbox.php(70) : regexp code on line 1

Fatal error: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Failed evaluating code: makelightbox('MzM5MGI4ODMwNmVmMTEyNGZkY2QxNWE1OTU0ODgxNDEuanBnP3dpZHRoPSIzMTMiIGhlaWdodD0iNDAwIg%3D%3D','<img src=\"content/images/fca9703577cba8b464bab89b9269570d.jpg\" width=\"117\" height=\"150\" border=\"0\" class=\"imagelistimg\" alt=\"000072_072dpi_(Medium).jpg\" />','<a href="image_zoom.php?show=MzM5MGI4ODMwNmVmMTEyNGZkY2QxNWE1OTU0ODgxNDEuanBnP3dpZHRoPSIzMTMiIGhlaWdodD0iNDAwIg%3D%3D" onclick="checkClickZoom();clickZoom('image_zoom.php?show=MzM5MGI4ODMwNmVmMTEyNGZkY2QxNWE1OTU0ODgxNDEuanBnP3dpZHRoPSIzMTMiIGhlaWdodD0iNDAwIg%3D%3D','previewpic','width=313,height=400');return false;"><img src="content/images/fca9703577cba8b464bab89b9269570d.jpg" width="117" height="150" border="0" class="imagelistimg" alt="000072_072dpi_(Medium).jpg" /></a>','gal in C:\Programme\Xampp\xampp\htdocs\public\musikemper\phpwcms\phpwcms_template\inc_script\frontend_render\lightbox.php on line 70

Posted: Tue 30. Jan 2007, 22:50
by breitsch
culda_a wrote:ok but is it possible to be the arrows always visible>?
currently the arrows-version is active on my example-site:
http://web.casa-loca.com/index.php?slideshow

you can change the images for the arrows (gif)
you can switch from arrows to cursors by only change one variable in the lightbox_slideshow.php file 8)

please email me to get the files!