add rest image loader