Earth has been photographed multiple times from Mars, both from orbit (by orbital missions) and from the surface (rover missions).