PHP Класс FluidTYPO3\Vhs\ViewHelpers\Media\ImageViewHelper

## rendering responsive Images variants You can use the srcset argument to generate several differently sized versions of this image that will be added as a srcset argument to the img tag. enter a list of widths in the srcset to genereate copies of the same crop + ratio but in the specified widths. Put the width at the start that you want to use as a fallback to be shown when no srcset functionality is supported. ### Example ### Browser Support To have the widest Browser-Support you should consider using a polyfill like: http://scottjehl.github.io/picturefill/
Наследование: extends FluidTYPO3\Vhs\ViewHelpers\Media\Image\AbstractImageViewHelper, use trait FluidTYPO3\Vhs\Traits\SourceSetViewHelperTrait
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$tagName string name of the tag to be created by this view helper

Открытые методы

Метод Описание
initializeArguments ( ) : void Initialize arguments.
render ( ) : string Render method
renderTag ( ) : string

Описание методов

initializeArguments() публичный Метод

Initialize arguments.
public initializeArguments ( ) : void
Результат void

render() публичный Метод

Render method
public render ( ) : string
Результат string

renderTag() публичный Метод

public renderTag ( ) : string
Результат string

Описание свойств

$tagName защищенное свойство

name of the tag to be created by this view helper
protected string $tagName
Результат string