added legacy-image component