Implement support for image extensions.