Results 1 to 1 of 1

Thread: scale medium images instead of crop

  1. #1
    Thread Starter
    Expired Customer wenvet's Avatar
    Join Date
    Sep 2012
    Location
    Australia
    Posts
    40
    Thanks
    11
    Thanked 2 Times in 2 Posts

    scale medium images instead of crop

    In case anyone is having this problem;
    I needed my featured images to scale when displayed in the gallery, rather than crop as long thin images were being cropped in the middle and I had no control over them. I think that normally Wordpress does scale medium images by default rather than crop them.
    Anyway, I changed the Vantage images.php file:
    function va_set_image_crop( $sizes ) {
    $sizes['thumbnail']['crop'] = true;
    $sizes['medium']['crop'] = true;

    return $sizes;
    }
    Just take out the line $sizes['medium']['crop'] = true;

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Crop limitation
    By jassim1229 in forum Vantage General Discussion (Legacy)
    Replies: 6
    Last Post: June 7th, 2012, 10:57 AM
  2. Sliding Scale Pricing Options for Vantage Business Listings
    By mzzjewel in forum Report Vantage Bugs (Legacy)
    Replies: 1
    Last Post: June 4th, 2012, 03:19 PM
  3. Medium sized image is not resizing
    By bomber8888 in forum Help Using ClassiPress
    Replies: 9
    Last Post: January 5th, 2012, 10:32 PM
  4. User can crop images so they're perfect for slideshows and thumbnails
    By zxen in forum ClassiPress General Discussion
    Replies: 3
    Last Post: November 22nd, 2011, 09:40 AM
  5. Zoom/Crop Medium Image on Homepage
    By rosengroup in forum ClassiPress General Discussion
    Replies: 2
    Last Post: August 11th, 2010, 03:43 PM