Outputting image into widget