PHP Class 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/
Afficher le fichier
Open project: fluidtypo3/vhs
Class Usage Examples
Protected Properties
Свойство |
Type |
Description |
|
$tagName |
string |
name of the tag to be created by this view helper |
|
Méthodes publiques
Method Details
initializeArguments()
public méthode
renderTag()
public méthode
Property Details
$tagName protected_oe property
name of the tag to be created by this view helper
protected string $tagName |
Résultat |
string |
|