ADD autoplay for fotorama on points page

This commit is contained in:
Krivchikov Dmitry 2016-06-23 10:25:55 +03:00
parent 70b8b87edc
commit db00b079f0
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ if ($pointsAirport && $usersAirport && $pointsAirport->id != $usersAirport->id){
<?php if ($photos || $point->img): ?>
<br/><br/>
<div style="text-align: center;">
<div class="dfotorama" data-loop="true" data-allowfullscreen="native" data-nav="thumbs" data-thumbwidth="100" data-keyboard="true">
<div class="dfotorama" data-loop="true" data-allowfullscreen="native" data-nav="thumbs" data-thumbwidth="100" data-keyboard="true" data-autoplay="true" data-stopautoplayontouch="true">
<?php if ($point->img): ?>
<img data-thumb="<?= $point->img ?>" src="<?= $point->img ?>">
<?php endif; ?>