Working with images

 digUiImage

The digUiImage view helper renders an image or collection of images. Note that this helper can accept either a single image, an array of images, or a semi-colon separated list.

Basic Usage

echo $this->digUiImage('/files/images/logo.png');

Creating a slideshow

$images = array('/files/images/logo.png', '/files/images/logo-new.png');
// identical:
// $images = '/files/images/logo.png;/files/images/logo-new.png';
echo $this->digUiImage($images)
          ->slideshow(array('id' => 'logos',
                            'fx' => 'fade'));  

You can use any of the effects and options available to the jQuery cycle plugin.

digUiIcon

The digUiIcon helper renders an icon from our CDN. We host the famfamfam silk icon set.

<?= $this->digUiIcon('paper_white');?>