ADD autoplay for fotorama on points page
This commit is contained in:
parent
70b8b87edc
commit
db00b079f0
|
|
@ -60,7 +60,7 @@ if ($pointsAirport && $usersAirport && $pointsAirport->id != $usersAirport->id){
|
||||||
<?php if ($photos || $point->img): ?>
|
<?php if ($photos || $point->img): ?>
|
||||||
<br/><br/>
|
<br/><br/>
|
||||||
<div style="text-align: center;">
|
<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): ?>
|
<?php if ($point->img): ?>
|
||||||
<img data-thumb="<?= $point->img ?>" src="<?= $point->img ?>">
|
<img data-thumb="<?= $point->img ?>" src="<?= $point->img ?>">
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue