Ask Your Question

Revision history [back]

When querying the media resource, use the same class as property to pull the image URLs.
Using your example above it would be:
$query = "(L_StatusCatID=1)";
$results = $rets->Search('Media', 'RE_1', $query, ['Limit' => 9999999]);

Using GetObject() like your example above, it only takes the resource (not class specific).
I would suggest that you don't pull a single listing's images at once if at all possible, except for testing purposes.
Pull them in batches of 5, 10 or more at a time to reduce server overhead.