schmaka schmaka Posted April 28, 2018 at 04:22 AM Share Posted April 28, 2018 at 04:22 AM I'm going a bit crazy here and hoping for some help. I'm building a new page and want to output the url of a gallery image for a listing. I'm using prx($listing) as my guide and I can see the array information for the listing I'm trying to grab the content from, but it's just not loading. This is what I've used for the main media (working): <?php echo $listing['MainMedia']['media_info']['image']['url'];?> This is what I'm trying to use to grab one of the other 10+ images listed in media (not working): <?php echo $listing['Media']['photo'][0]['media_info']['image']['url']; ?> What am I doing wrong??? I can see all the other Media urls, but nothing gets displayed when running the echo command. cheers Andrew Link to comment
schmaka schmaka Posted April 28, 2018 at 04:33 AM Author Share Posted April 28, 2018 at 04:33 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
schmaka schmaka Posted April 28, 2018 at 05:38 AM Author Share Posted April 28, 2018 at 05:38 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted April 28, 2018 at 10:09 AM Share Posted April 28, 2018 at 10:09 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
schmaka schmaka Posted April 29, 2018 at 02:58 AM Author Share Posted April 29, 2018 at 02:58 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted April 29, 2018 at 11:17 AM Share Posted April 29, 2018 at 11:17 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.