• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

How to change thumbnails

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › How to change thumbnails

This topic is: not resolved

Tagged: image resize, modern portfolio, thumbnail

  • This topic has 8 replies, 3 voices, and was last updated 10 years, 9 months ago by suburbanite.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • May 12, 2013 at 8:22 am #40557
    yolohtzin
    Member

    Hi - I am relatively new to coding and am trying to figure out what I've done wrong - I am using Modern Portfolio theme - http://sunshinememoirs.com - In the functions.php it shows:

    // Add new image sizes
    add_image_size( 'blog', 320, 120, TRUE );
    add_image_size( 'portfolio', 320, 210, TRUE );

    // Add new image sizes
    add_image_size('blog', 1500, 700, TRUE);
    add_image_size('portfolio', 1500, 700, TRUE);

    // Add new image sizes
    add_image_size('blog', 300, 700, TRUE);
    add_image_size('portfolio', 300, 700, TRUE);

    However, when I go into a widget to choose thumbnail size for Blog & Portfolio the onlythumbnail sizes available are:

    150 x 150 and 300 x 700

    I uploaded Regenerate thumbnails plugin

    and am lost

    Could someone please help me - thanks so much!  Heather

    http://sunshinememoirs.com
    May 12, 2013 at 8:57 am #40559
    Brad Dalton
    Participant

    The custom sizes you are using in your child themes functions.php file aren't using unique names:

    Change them so they all use a unique name:

    Example:

    add_image_size ( 'blog', 320, 120, TRUE );
    add_image_size ('portfolio', 1500, 700, TRUE);
    add_image_size ('custom', 300, 700, TRUE);
    

    You don't need to add another size which is the same as an existing size as it only creates an extra image every time you upload a new image in WordPress.

    Also, sometimes when you copy and paste PHP code incorrectly, it can change the apostrophes causing errors.

    Always use a text editor like Notepad++ and paste the code at the end of your child themes functions file rather than using the built in WordPress theme editor.


    Tutorials for StudioPress Themes.

    May 12, 2013 at 1:16 pm #40575
    yolohtzin
    Member

    hi - it worked - thanks - so I can just put code at the bottom when I make changes - it doesn't need to go in area where it already is?  Thanks!  Heather

    May 12, 2013 at 1:49 pm #40583
    Brad Dalton
    Participant

    What changes are you referring to Heather?


    Tutorials for StudioPress Themes.

    May 12, 2013 at 5:13 pm #40596
    yolohtzin
    Member

    I was referring to thumbnail sizes for Blog & Portfolio on Home Page

    This is what i have in php now - is this good or is there sizes I can add or delete:

    // Add new image sizes
    add_image_size( 'blog', 320, 120, TRUE );
    add_image_size( 'portfolio', 320, 210, TRUE );
    add_image_size( 'blog', 320, 210, TRUE );

    // Add new image sizes
    add_image_size( 'blog', 1500, 700, TRUE );
    add_image_size (‘portfolio’, 1500, 700, TRUE);
    add_image_size (‘custom’, 300, 700, TRUE);

    *******

    Please see these 2 posts - http://sunshinememoirs.com/boat-delete/ this one has thumbnails

    http://sunshinememoirs.com/beach/ - This post has satellite slideshow gallery

    Do you like both ways or one better than the other - satellite slideshow is supposed to be responsive - i have been told it's not good to use slideshows for mobile sites - is this true

    I have had good luck with fancybox so used it again

    My other question is - I will keep blog and portfolio 'thumbnails' the same size - I chose custom 300 x 700 thumbnail size

    What size photos do you suggest I add to the site posts & portfolio posts please-

    Thanks again - I'm almost ready to start adding content - not much more to do - this template has been surprisingly easy to set up - even for a non-techy like me

    Heather

    May 12, 2013 at 6:58 pm #40603
    Brad Dalton
    Participant

    I'd add full content width sizes to single posts with thumbnails for 3 smaller images below them and use around 150-200 for archives. I use 300 X 150 for archives.

    I think the Jetpack Carousel plugin with the native WordPress gallery is the best.


    Tutorials for StudioPress Themes.

    August 14, 2014 at 1:44 pm #118847
    suburbanite
    Member

    I'm having a similar problem. I would like to change the size of the portfolio thumbnails on my site to be 200x200. Here's the code in my functions file:

    //* Adds port page
    genesis_register_sidebar( array(
    	'id'          => 'page-portfolio',
    	'name'        => __( 'Page - Portfolio','mpp' ),
    	'description' => __( 'This is the portfolio section to the Portfolio Page.','mpp' ),
    ) );
     
    add_image_size( 'portfolio', 200, 200, TRUE );

    But it looks like it's still defaulting to 200x300 if I inspect the element. Obviously, also I need to upload some images that are 200x200 in its place as well.

    You can see the site here.

    August 14, 2014 at 8:43 pm #118888
    Brad Dalton
    Participant

    You need to regenerate thumbnails.

    Only new uploaded images will be cropped to the new size.

    Existing images are not re-sized.


    Tutorials for StudioPress Themes.

    August 16, 2014 at 7:17 am #119194
    suburbanite
    Member

    That worked perfectly, thank you!

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble