Shortens echoed image path.