0

I want to fetch all the image url related to a particular property, but $rets->GetObject function is not returning the image url. Please help me to find where i am wrong?

I want to fetch the image URLs for the MLS property number = W******. But it is not returning any image URL.

Below is my code:

    $photos = $rets->GetObject("Property", "Photo", "W******", "*", 1);

Please help me to solve this.

Vüsal Hüseynli
  • 889
  • 1
  • 4
  • 16

1 Answers1

0

RETS servers are not required to support the delivery of object URLs which, it sounds like, is what you're running into here. Some servers do provide a Media resource that might give the URLs, but you may not have that luxury with this particular feed.

If you still need URLs, you'll likely need to retrieve and store the photos yourself, maybe using a cloud hosting service.

troydavisson
  • 341
  • 1
  • 4