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/
Показать файл
Открыть проект
Примеры использования класса
Защищенные свойства (Protected)
Свойство |
Тип |
Описание |
|
$tagName |
string |
name of the tag to be created by this view helper |
|
Открытые методы
Описание методов
initializeArguments()
публичный Метод
renderTag()
публичный Метод
Описание свойств
$tagName защищенное свойство
name of the tag to be created by this view helper
protected string $tagName |
Результат |
string |
|