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
파일 보기 프로젝트 열기: fluidtypo3/vhs 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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