separated image loading module.