Page 1 of 1
How make auto play the slide option when open image?
Posted: 16 May 2017, 21:22
by kostianev
Dear,
I have used Phoca Gallery for my galleries and try to set option when user open for preview the image, to see the next images automatic after 3 seconds with autoplay? How can I achieve that?
Now the user must click play button to play the slides with images.
Re: How make auto play the slide option when open image?
Posted: 17 May 2017, 00:00
by christine
Hi,
can only tell you for Detail View - Shadowbox (image only):
/administrator\components\com_phocagallery\libraries\phocagallery\render\renderdetailwindow.php on ca line: 150 you will find this here:
a)
Code: Select all
/*if ( $libraries['pg-group-shadowbox']->value == 0 ) {
$document->addStyleSheet(JURI::base(true).'/components/com_phocagallery/assets/shadowbox/shadowbox.css');
$document->addScript(JURI::base(true).'/components/com_phocagallery/assets/shadowbox/shadowbox.js');
$document->addCustomTag('<script type="text/javascript">
Shadowbox.init({
'.$sbSettingsO.'
});
</script>');
}*/
Code is "commented out" > remove the: /* at the beginning and the: */ at the end.
Below (ca. line 160) you will find:
b)
Code: Select all
if ( $libraries['pg-group-shadowbox']->value == 0 ) {
$document->addStyleSheet(JURI::base(true).'/components/com_phocagallery/assets/shadowbox/shadowbox.css');
$document->addScript(JURI::base(true).'/components/com_phocagallery/assets/shadowbox/shadowbox.js');
$document->addCustomTag('<script type="text/javascript">
var SBpauseOnStart = "true";
Shadowbox.init({
'.$sbSettingsO.',
continuous: true,
onFinish: function(){setTimeout(\'if(SBpauseOnStart == "true"){SBpauseOnStart = "done";Shadowbox.pause();}\', 375)},
onClose: function(){SBpauseOnStart = "true";}
});
</script>');
}
comment out: /* at the beginning and with: */ at the end.
Kind regards, Christine
Re: How make auto play the slide option when open image?
Posted: 17 May 2017, 07:53
by kostianev
Thank you. Now working, I am using the shadowbox.
Can you tell me, while I am using shadowbox, why my download link/icon don't show? I set up to show in administrator settings, but not showing in category view of the images.
Re: How make auto play the slide option when open image?
Posted: 17 May 2017, 11:14
by christine
Hi,
did you follow this:
https://www.phoca.cz/documents/2-phoca-g ... e-joomla-3
Display Download Icon (Hide | Display | Display (direct download)) Display or hide icon of download link in Category Vie
Kind regards, Christine
Re: How make auto play the slide option when open image?
Posted: 17 May 2017, 21:40
by kostianev
Yes, I tried this option in component Phoca Gallery settings. Please, see my screenshots.
Here is the website for test view.
https://db.tt/MLi3N0K5xu
https://db.tt/DbJOelefPM
Re: How make auto play the slide option when open image?
Posted: 18 May 2017, 11:22
by Jan
Hi, I don't see the gally on given link? Is this plugin or component?
Jan
Re: How make auto play the slide option when open image?
Posted: 18 May 2017, 12:26
by kostianev
Re: How make auto play the slide option when open image?
Posted: 20 May 2017, 13:31
by kostianev
So, any suggestions? Why my download link not showing?
Re: How make auto play the slide option when open image?
Posted: 23 May 2017, 12:43
by Jan
Are they display other icons (try to enable other icons: link to detail, to info, etc.)?
Jan