Genesis - Change image size on the Portfolio page

All of our Premium WordPress Themes come with a built-in Portfolio page ( example). The Portfolio featured images are square by default. If you'd like to change the Portfolio featured image to a different shape/size, we'll show you how in this tutorial!

How to change the featured image size on the Portfolio page

1. First, we'll need to determine what image sizes are available in your theme and their names. Go to WordPress > Appearance > Editor > Functions.php. Locate this section:

//* Add new image sizes
add_image_size( 'featured-long', 750, 1030, TRUE );
add_image_size( 'featured-wide', 800, 560, TRUE );
add_image_size( 'featured-square', 600, 600, TRUE );
Keep in mind that each theme has its own unique image sizes, so this section might look different depending on which theme you're using.

2. In the image size section, look at the size options and choose the one that you want to use on the category pages. Don't make any edits in this file – just write down the name of your chosen image size somewhere. In the example above, if you want the long (portrait) image size, you would write down  featured-long.

3. Next, while still in the Editor, go to the archive-portfolio.php file. Scroll down to the bottom of the file. Locate this section:

Again, this section will vary slightly from theme to theme. I.e. this screenshot is from the Clover theme. If you are using a different 17th Avenue theme, you'll see the name of your own theme here.

4. Find the image size, which is highlighted below:

5. Replace the current image size with the name of your NEW image size. In our example, you would replace  featured-square with featured-long. Be sure to keep everything around the image size name the EXACT same, including the single quote mark that immediately follows it.

6. Click "Update File" and you're done!

7. Optional: If you'd like to change the image size for your Portfolio types as well, repeat steps 3-6 in the taxonomy-portfolio-type.php file.