<?php
/* @var $this RoyalSliderWidget */
/* @var $slider Album */
/* @var $image AlbumImage */
$images = $slider->albumImages;
?>
<div id="<?php echo $this->getId() ?>" class="royalSlider rsDefaultInv">

    <?php if ($images): ?>
        <?php foreach ($images as $image): ?>
            <?php $path = Yii::app()->params['uploadUrl'] . get_class($image); ?>
            <div class="rsContent slide4">
                <img class="rsABlock palmImg" data-fade-effect="none" data-move-effect="bottom" data-opposite="true" data-move-offset="450" data-delay="350" data-speed="300" data-easing="easeOutBack" 
                     src="<?php echo $path . '/' . $image->image ?>"/>
            </div>
        <?php endforeach; ?>
    <?php endif; ?>
</div>