Resolve error when adding asset resource to image entry