Featured Image wont resize
-
I have had this working in the past I am sure of it but now in my blog all the featured images I have set are blowing up to some huge full width image. I checked my child theme functions and I still have the post-thumbnails support code in there but it is NOT working no matter what I do. I checked the post content.php page to make sure it was using the same function name also.
What am I doing wrong here?
***************************Functions.php********************************
/* EJS - Modified Featured Image Size */ add_theme_support( 'post-thumbnails' ); add_image_size( 'twentyseventeen-featured-image', 580, 400, true ); add_image_size( 'twentyseventeen-thumbnail-avatar', 100, 100 ); // Set the default content width. $GLOBALS['content_width'] = 525; // This theme uses wp_nav_menu() in two locations. register_nav_menus( *****************************Content.php*********************************** </header><!-- .entry-header --> <?php if ( '' !== get_the_post_thumbnail() && ! is_single() ) : ?> <div class="post-thumbnail"> <a>"> <?php the_post_thumbnail( 'twentyseventeen-featured-image' ); ?> </a> </div><!-- .post-thumbnail --> <?php endif; ?> <div class="entry-content">
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Featured Image wont resize’ is closed to new replies.