Results 1 to 2 of 2

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 hade succes 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 alteration 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????

    This is def. a question for the development team, since they made the latest changes

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,978
    Thanks
    170
    Thanked 3,407 Times in 3,278 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.

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. Replies: 2
    Last Post: August 24th, 2011, 10:29 AM
  3. Featured Image Thumbnail Size
    By gomeetpete in forum Help Using ClassiPress
    Replies: 0
    Last Post: December 31st, 1969, 07:00 PM