refactor: Refer to imageResolution rather than previewImage