Results 1 to 3 of 3

Thread: How do you alter the thumbnail image size on the Single Ad page in Version 3.1.4

  1. #1
    talent's Avatar
    Join Date
    Jul 2011
    Location
    London UK
    Posts
    3,497
    Thanks
    75
    Thanked 553 Times in 502 Posts

    How do you alter the thumbnail image size on the Single Ad page in Version 3.1.4

    I had success with this in version 3.1 and in 3.1.2, but since the changes made in the "single_ad_listing.php" file in 3.1.4 my modifications do not work.

    Previously I altered the theme_functions.php by adding my new sizes (thumbxsm)

    // create special sizes for the ads
    add_image_size('ad-thumbxsm', 40, 40, true);
    add_image_size('ad-thumbsm', 50, 50, true);
    add_image_size('ad-thumb', 75, 75, true);
    add_image_size('ad-small', 100, 100, true);
    add_image_size('ad-medium', 250, 250, true);
    //add_image_size('ad-large', 500, 500);
    }

    I then called this change up in the single_ad_listing.php
    <?php if ( get_post_meta( $post->ID, 'images', true ) ) echo cp_get_image_thumbs_legacy( $post->ID, get_option('thumbnail_size_w'), get_option('thumbnail_size_h'), $post->post_title ); else cp_get_image_url_single( $post->ID, 'thumbxsm', $post->post_title, -1 ); ?>

    As I said, this small change worked in 3.1, but in the latest version, these same changes do not work - any ideas why? what am I missing????

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,958
    Thanks
    169
    Thanked 3,405 Times in 3,276 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  3. #3
    talent's Avatar
    Join Date
    Jul 2011
    Location
    London UK
    Posts
    3,497
    Thanks
    75
    Thanked 553 Times in 502 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. Featured Image Thumbnail Size
    By gomeetpete in forum ClassiPress General Discussion
    Replies: 299
    Last Post: December 23rd, 2012, 08:29 AM
  2. is there anyway to edit the size of thumbnail display image
    By yuynkng in forum Help Using ClassiPress
    Replies: 2
    Last Post: December 31st, 1969, 07:00 PM
  3. Featured Image Thumbnail Size
    By gomeetpete in forum Help Using ClassiPress
    Replies: 0
    Last Post: December 31st, 1969, 07:00 PM