Like Image, but uses DIV + CSS background not IMG element.

Simple addon to help when Image component's IMG tags become painful to theme. Provides ScaleImage that uses DIV with CSS property background-image on client side. This allows you to do some tricks with CSS, that would be really hard to do with IMG tag. Like repeating, positioning...

Install

Link to this version
BetaReleased 27 June 2017Apache License 2.0
Framework Support
Vaadin 8.0+
Also supported:
Vaadin 7 (0.3.0)
Browser Compatibility
11
Install with
Release notes - Version 0.5.0
  • API has been cleaned up
  • Alternative text is now set as aria-label attribute on client side
  • Widgetset name to org.vaadin.alump.scaleimage.ScaleImageWidgetset
  • API to define background color