If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
I have my portfolio page setup at http://justlevy.com/portfolio/. I would like the portfolio item’s NOT to be cropped to 243×125 px. How can I keep the proportion ratio true to the original image, versus being cropped?
I tried looking in style.css and the portfolio.php pages…
Thanks in advance.
in functions.php replace:
$avia_config['imgSize']['portfolio'] = array('width'=>243, 'height'=>125); // medium preview pic for portfolio
$avia_config['imgSize']['portfolio'] = array('width'=>243, 'height'=>9999); // medium preview pic for portfolio
and regenerate the thumbnails with: http://wordpress.org/extend/plugins/regenerate-thumbnails/
The code snippet worked great. It took 2 seconds to change.
I didn’t know what the thumbnail regeneration plugin would do for me. I don’t really see a need for it.
Thanks again for the help!
The topic ‘Portfolio Thumbnails’ is closed to new replies.