-
-
I want to publish a portfolio with 5 columns, full width, normal space.
However the thumbnails should not be square but rather 4:3
In the functions.php file I have found the section titled “Add Various Image Sizes” but: 1) several sizes are commented, 2) there is no image size specified for port5.
So I add the following line:
add_image_size( ‘port5’, 800, 600, true );
and regenerate the thumbnails but they still appear having the same square proportions.
The full-size image in the single project page is shown correctly.
So I am asking:
- why are several lines in that section of the functions.php file commented?
Should I uncomment them to make sure I can use them or what? - how can I set the size of the portfolio thumbnail images?
Thank you,
Paolo
- why are several lines in that section of the functions.php file commented?
-
Hello,
Sorry for the late reply.
1-Some lines are commented because they are not frequently used. Uncomment the ones you want to use.
2-You have to edit the image size in the function above and then regenerate thumbnails again with a plugin, or import images again. You can also change the size of the portfolio thumbnail images, with css.
Let us know if you need help with it.Best regards!
-
You must be logged in to reply to this topic.