work on rest image loader
Fix REST image loader