Need code to echo images from single-ad_listing / Ad in order to print - Almost there
Decided to create thread since I believe request may have been lost by other thread title (
wp-print [FIX])
Basically I need to know the code to echo all the images in an ad so I can print them with the other custom fields. So far everything figured out except for grabbing the images (see thread above). Looking to grab the fullsize image(s); not thumbnail(s).
Need to critique code:
<?php echo cp_get_image_url_single($post->ID, 'thumbnail', $post->post_title, -1); ?>
This returns all thumbnail images from all ads or media library. So need to change to current post only. Would be nice to return each image in the array into it's own <li></li> or table.
Thanks in advance.