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.
How make auto play the slide option when open image?
-
kostianev
- Phoca Newbie

- Posts: 8
- Joined: 15 Nov 2015, 23:28
-
christine
- Phoca Hero

- Posts: 2938
- Joined: 28 Nov 2010, 17:20
Re: How make auto play the slide option when open image?
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 is "commented out" > remove the: /* at the beginning and the: */ at the end.
Below (ca. line 160) you will find:
b)
comment out: /* at the beginning and with: */ at the end.
Kind regards, Christine
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>');
}*/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
-
kostianev
- Phoca Newbie

- Posts: 8
- Joined: 15 Nov 2015, 23:28
Re: How make auto play the slide option when open image?
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.
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.
-
christine
- Phoca Hero

- Posts: 2938
- Joined: 28 Nov 2010, 17:20
Re: How make auto play the slide option when open image?
Hi,
did you follow this: https://www.phoca.cz/documents/2-phoca-g ... e-joomla-3
did you follow this: https://www.phoca.cz/documents/2-phoca-g ... e-joomla-3
Kind regards, ChristineDisplay Download Icon (Hide | Display | Display (direct download)) Display or hide icon of download link in Category Vie
-
kostianev
- Phoca Newbie

- Posts: 8
- Joined: 15 Nov 2015, 23:28
Re: How make auto play the slide option when open image?
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
Here is the website for test view.
https://db.tt/MLi3N0K5xu
https://db.tt/DbJOelefPM
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: How make auto play the slide option when open image?
Hi, I don't see the gally on given link? Is this plugin or component?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
kostianev
- Phoca Newbie

- Posts: 8
- Joined: 15 Nov 2015, 23:28
-
kostianev
- Phoca Newbie

- Posts: 8
- Joined: 15 Nov 2015, 23:28
Re: How make auto play the slide option when open image?
So, any suggestions? Why my download link not showing?
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: How make auto play the slide option when open image?
Are they display other icons (try to enable other icons: link to detail, to info, etc.)?
Jan
Jan
If you find Phoca extensions useful, please support the project