Add image loader to Qt GUI