getting img widgets to work