FAP SUPPORT - FAP And HighSlide JS »  Show posts from    to     

Icy Phoenix


Archived phpBB Topics (Styles, Mods, Support) - FAP SUPPORT - FAP And HighSlide JS



Siljo [ Sun 07 Dec, 2008 09:54 ]
Post subject: FAP SUPPORT - FAP And HighSlide JS
Hi i need help with integrating HighSlide JS to FAP.

I found this code i think Artie is the one who made it.

Code: [Hide] [Select]
Place the code to include the javascript and css files at the top of templates/subsilver/album_showpage_body.tpl

<script type="text/javascript" src="highslide/highslide-with-gallery.js"></script>
<link rel="stylesheet" type="text/css" href="highslide/highslide.css" />
<script type="text/javascript">
hs.graphicsDir = 'highslide/graphics/';
hs.align = 'center';
hs.transitions = ['expand', 'crossfade'];
hs.outlineType = 'rounded-white';
hs.fadeInOut = true;
hs.numberPosition = 'caption';
hs.dimmingOpacity = 0.75;

// Add the controlbar
if (hs.addSlideshow) hs.addSlideshow({
//slideshowGroup: 'group1',
interval: 5000,
repeat: false,
useControls: false,
fixedControls: 'fit',
overlayOptions: {
opacity: .75,
position: 'bottom center',
hideOnMouseOut: true
}
});

</script>

For the active link:
OPEN album_showpage.php

FIND

'U_PIC_L1' => ( $picm == false ) ? '' : '<a href="' . append_sid(album_append_uid('album_showpage.' . $phpEx . '?full=true&amp;pic_id=' . $pic_id . $nuffimage_vars)) . '">',

REPLACE WITH

'U_PIC_L1' => ( $picm == false ) ? '' : '<a href="album_mod/upload/'.$thispic['pic_filename'].'" class="highslide" onclick="return hs.expand(this)" title="'.$thispic['pic_title'].'">',


This code is not ok,because there are no watermarks and the slideshow inside the HighSlide JS doesn't work.

Please help.


Siljo [ Mon 08 Dec, 2008 16:24 ]
Post subject: Re: FAP And HighSlide JS
Nevermind,got it working with watermark and everything


Chaotic [ Mon 08 Dec, 2008 16:27 ]
Post subject: Re: FAP And HighSlide JS
Just for completion purposes, would you mind posting how you got it to work?


Siljo [ Tue 10 Feb, 2009 12:14 ]
Post subject: Re: FAP And HighSlide JS
Sure let me just find my file edits




Powered by Icy Phoenix