Elementary image widget

This code snippet shows how to create an elementary image widget.