For the slideshow on index.php try this:
On line 7 replace
`
$images = getImageStatistic(5,getOption('libratus_ss_type'),getOption('libratus_ss_album'),true);
`
with
`
$albumobj = newAlbum('title-album');
$images = $albumobj->getImages(0);
`
and after line 8 add:
`$image = newImage($albumobj, $image);`
So this part of the code now is:
`
.....
<ul id="cbp-bislideshow" class="cbp-bislideshow">
<?php
$albumobj = newAlbum('title-album');
$images = $albumobj->getImages(0);
foreach ($images as $image) {
$image = newImage($albumobj, $image);
echo '[*]';
$html = '[img]' . html_encode(pathurlencode($image->getCustomImage(1200,null,null,null,null,null,null,true))) . '[/img]getTitle()) . '" />';
echo zp_apply_filter('custom_image_html', $html, false);
echo '';
} ?>
</ul>
.....
`
This assumes you have an album called `title-album` with images in it.
Note that you cannot use the theme option [i]Home Slideshow Type[/i] anymore.
If you still want to be able to use any album (and not [i]Entire Gallery[/i]) from the album selector dropdown, use something like this:
`
.....
<ul id="cbp-bislideshow" class="cbp-bislideshow">
<?php
if ( getOption('libratus_ss_album') !== 'Entire Gallery' ) {
$albumobj = newAlbum(getOption('libratus_ss_album'));
$images = $albumobj->getImages(0);
}
foreach ($images as $image) {
$image = newImage($albumobj, $image);
echo '[*]';
$html = '[img]' . html_encode(pathurlencode($image->getCustomImage(1200,null,null,null,null,null,null,true))) . '[/img]getTitle()) . '" />';
echo zp_apply_filter('custom_image_html', $html, false);
echo '';
} ?>
</ul>
.....
`