# EclGalleryMediaDirective

**Type:** directive



Manages image/video for the thumbnail in the gallery. Adding some styling and functionality.


**Selector:** `[eclGalleryMedia], [eclGalleryImage]`

## Inputs
- **hasZoom**: `boolean` - When this is true, on mousehover the image will be zoomed.
- **poster**: `string` - To be used when there is no thimbnail added. Instead the 'poster' attribute in the <video> element is used
- **class**: `string` - 
- **e2eAttr**: `any` - 
- **tabindex**: `number` - 
