support for legacy images