I found this code i think Artie is the one who made it.
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&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'].'">',
<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&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.