John Huebner, your code returned this to me:
<li><img class="img_cat" src="124, , casamentos, , , image/jpeg, http://localhost/jd/wp-content/uploads/2018/03/casamentos.jpg, 1280, 486, Array" alt=""><a href="localhost/jd/category/casamentos">Casamentos</a></li>
The data is in an array, how to just get the URL?
Thank you for your help.