Results 1 to 4 of 4

Thread: Need code to echo images from single-ad_listing / Ad in order to print - Almost there

  1. #1
    Thread Starter
    cgatherings's Avatar
    Join Date
    Jan 2012
    Location
    Washington
    Posts
    208
    Thanks
    30
    Thanked 4 Times in 4 Posts

    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.

  2. #2
    Thread Starter
    cgatherings's Avatar
    Join Date
    Jan 2012
    Location
    Washington
    Posts
    208
    Thanks
    30
    Thanked 4 Times in 4 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Thread Starter
    cgatherings's Avatar
    Join Date
    Jan 2012
    Location
    Washington
    Posts
    208
    Thanks
    30
    Thanked 4 Times in 4 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Junior Member speedy222's Avatar
    Join Date
    Jan 2012
    Location
    Netherlands
    Posts
    39
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Single AD Page images Issue
    By mr_xx in forum Report ClassiPress Bugs
    Replies: 6
    Last Post: April 22nd, 2018, 10:10 PM
  2. Single Ad images
    By gemini11 in forum Report ClassiPress Bugs
    Replies: 11
    Last Post: December 16th, 2016, 06:24 AM
  3. 3.0.5.2 child theme and single-ad_listing.php question
    By mark1975 in forum ClassiPress General Discussion
    Replies: 16
    Last Post: August 15th, 2014, 06:04 PM
  4. One more feature on single-ad_listing
    By casa in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: September 9th, 2011, 07:19 AM
  5. "print a job" no images will be printed, no text after image
    By lumicon in forum JobRoller General Discussion
    Replies: 17
    Last Post: September 8th, 2011, 10:15 AM