Thumbnails Cut off Highend Theme

  • Resolved
    Posted in: Highend WP Theme  
  • Customer
    ameyrad
    June 28, 2019 at 1:50 pm #140178

    http://www.madisonradiologists.com/physicians/
    The above link is ok, but if you click on any of the individual photos for more info, this is where the picture is being cut off.
    **My thumbnails on the team member page are now cut off despite all efforts of cropping, etc. I change the default thumbnail size, regenerated, etc. I added the code below to the PHP file and still no luck.

    if ( function_exists( ‘add_theme_support’ ) ) {
    add_theme_support( ‘post-thumbnails’ );
    set_post_thumbnail_size( 250, 250, true ); // default Post Thumbnail dimensions (cropped)

    // additional image sizes
    // delete the next line if you do not need additional image sizes
    add_image_size( ‘category-thumb’, 300, 9999 ); //300 pixels wide (and unlimited height)
    }

    I changed the above to false on post thumbnail and still issues.

    The settings and media changes didn’t work at all which is what let me to the functions.php file to attempt changes. I don’t have any specific templates, just one default that is used.There is something in the template functions.php that I am wondering if that is the issue:
    <div class=”team-member-box<?php echo esc_attr( $style ); ?>”>

    <div class=”team-member-img”>

    <?php
    if ( $thumb ) {
    $image = highend_resize( $thumb, 350, 450 );
    $social_links = highend_get_social_networks_array();

    if ( $image[‘url’] ) {
    echo ‘' . esc_attr( get_the_title() ) . '‘;
    }
    ?>

    <ul class=”social-icons dark”>

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.