implemented saveAssetImage method