Thread Starter
zelko
(@zelky)
I think I found it:
arconix-portfolio/includes/class-portfolio.php
add_image_size( ‘portfolio-thumb’, 275, 200, TRUE );
I changed the 200 to 139…but something else is now making the images narrower than the rest. I’ll try re-uploading them now that I have change the size in the php file.
Thread Starter
zelko
(@zelky)
All good now! I love this plugin…thanks again for the updates and earlier support.
I’m glad you got everything figured out… For the future, I’d suggest not editing the plugin files directly because you’ll lose those changes when the plugin is updated. The better way to make this change you wanted is to go into your theme’s functions.php file, and add a line that reads:
add_image_size( 'my-new-thumb', 275, 139, TRUE );
Then modify the portfolio shortcode to look like so:
[portfolio thumb="my-new-thumb"]
Naturally you can rename “my-new-thumb” to anything you’d like so long as it’s not the same as an existing image size. Also, to make sure your existing images get resized properly to your new image size, I’d suggest the following plugin: http://ww.wp.xz.cn/extend/plugins/regenerate-thumbnails/
Thread Starter
zelko
(@zelky)
Hi John,
Thank you for your great advice. I’m very much a novice with PHP.