Add imagelayer support, update example