add ENABLE_TEMPORARY_IMAGE