src/Processors/DocumentsProcessor.php
protected function makeSlideHTML(Image $image)
    {
        $translation = $image->translate();
        $caption = ($translation) ? $translation->caption : '';
        $description = ($translation) ? $translation->description : '';

        return '<li class="gallery__item">
            <figure data-original="' . $image->getPublicURL() . '">' .
                $image->present()->thumbnail .
                '<figcaption class="gallery-thumbnail__caption">' . $caption . '</figcaption>
                    <p class="gallery-thumbnail__description">' . $description . '</p>
            </figure>
        </li>';
    }
protected function makeSlideHTML(Image $image)
    {
        $translation = $image->translate();
        $caption = ($translation) ? $translation->caption : '';
        $description = ($translation) ? $translation->description : '';

        return '<li class="gallery__item">
            <figure data-original="' . $image->getPublicURL() . '">' .
                $image->present()->thumbnail .
                '<figcaption class="gallery-thumbnail__caption">' . $caption . '</figcaption>
                    <p class="gallery-thumbnail__description">' . $description . '</p>
            </figure>
        </li>';
    }
protected function makeSlideHTML ( Image $ image ) { $ translation = $ image -> translate ( ) ; $ caption = ( $ translation ) ? $ translation -> caption : '' ; $ description = ( $ translation ) ? $ translation -> description : '' ; return '<li class="gallery__item">
            <figure data-original="' . $ image -> getPublicURL ( ) . '">' . $ image -> present ( ) -> thumbnail . '<figcaption class="gallery-thumbnail__caption">' . $ caption . '</figcaption>
                    <p class="gallery-thumbnail__description">' . $ description . '</p>
            </figure>
        </li>' ; }
Makes slide HTML

@param Image $image
@return string
Makes slide HTML