• ameyrad

    (@ameyrad)


    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)
    }

    Any assistance would be greatly appreciated.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Try using ‘false’ as the last arg in the call to set_post_thumbnail_size instead of ‘true’. Note that you’ll have to regenerate the thumbs after making the change.

    Also note that it’s not necessary to do this in functions.php as you can change the standard image sizes under settings->media.

    Thread Starter ameyrad

    (@ameyrad)

    No luck on changing to false. 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 '<img src="' . esc_url( $image['url'] ) . '" alt="' . esc_attr( get_the_title() ) . '" />';
    					}
    					?>
    
    					<ul class="social-icons dark">
    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Check with that theme’s devs. You’re using a commercial theme, so please use their official support channel. We feel they are best equipped to support their products.

    https://hb-themes.com/forum/

    Commercial products are not supported in these forums.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Thumbnails Cut off Highend Theme’ is closed to new replies.