From b7298e8ded8f6741b47245ca5d9cea71f052aaea Mon Sep 17 00:00:00 2001 From: nitya Date: Mon, 15 Apr 2024 11:25:07 -0700 Subject: [PATCH] imgae size --- template-parts/blocks/team-hightlight/template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template-parts/blocks/team-hightlight/template.php b/template-parts/blocks/team-hightlight/template.php index 466ed09..55ecc99 100644 --- a/template-parts/blocks/team-hightlight/template.php +++ b/template-parts/blocks/team-hightlight/template.php @@ -87,7 +87,7 @@ ID ); if ( ! empty( $member->ID ) ) { - $image_url = wp_get_attachment_image_src( $thumbnail_id, 'full' ); + $image_url = wp_get_attachment_image_src( $thumbnail_id, 'large' ); $featured_image_url = $image_url[0]; if ( ! empty( $featured_image_url ) ) { echo wp_kses_post( '' . get_the_title( $member->ID ) . '' ); @@ -164,7 +164,7 @@ ID ); if ( $thumbnail_id ) { - $image_url = wp_get_attachment_image_src( $thumbnail_id, 'large' ); + $image_url = wp_get_attachment_image_src( $thumbnail_id, 'full' ); $featured_image_url = $image_url[0]; echo wp_kses_post( '' . get_the_title( $member->ID ) . '' ); }