-
AuthorPosts
-
December 11, 2014 at 8:57 am #366545
Is it possible to change the portfolio image size?
In particular, I want to leave the width as 495, but let the image height be anything (in proportion to the original image). So if the image is portrait, it will allow it to still be portrait, and not constrain it to 495×400.
Thanks!!!
December 11, 2014 at 3:13 pm #366677Hi creativepassion!
Please try using this plugin and change image sizes – https://wordpress.org/plugins/simple-image-sizes/
Regards,
YigitDecember 18, 2014 at 12:22 am #369817As soon as I add that plugin (to fix the previous problem), the Open Graph protocol images (used by Facebook) don’t work.
December 18, 2014 at 4:40 pm #370033Hey!
Please remove the plugin and go to Appearance > Editor and open Functions.php file and find
$avia_config['imgSize']['widget'] = array('width'=>36, 'height'=>36); // small preview pics eg sidebar news $avia_config['imgSize']['square'] = array('width'=>180, 'height'=>180); // small image for blogs $avia_config['imgSize']['featured'] = array('width'=>1500, 'height'=>430 ); // images for fullsize pages and fullsize slider $avia_config['imgSize']['featured_large'] = array('width'=>1500, 'height'=>630 ); // images for fullsize pages and fullsize slider $avia_config['imgSize']['extra_large'] = array('width'=>1500, 'height'=>1500 , 'crop' => false); // images for fullscrren slider $avia_config['imgSize']['portfolio'] = array('width'=>495, 'height'=>400 ); // images for portfolio entries (2,3 column) $avia_config['imgSize']['portfolio_small'] = array('width'=>260, 'height'=>185 ); // images for portfolio 4 columns $avia_config['imgSize']['gallery'] = array('width'=>845, 'height'=>684 ); // images for portfolio entries (2,3 column) $avia_config['imgSize']['magazine'] = array('width'=>710, 'height'=>375 ); // images for magazines $avia_config['imgSize']['masonry'] = array('width'=>705, 'height'=>705 , 'crop' => false); // images for fullscreen masonry $avia_config['imgSize']['entry_with_sidebar'] = array('width'=>845, 'height'=>321); // big images for blog and page entries $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1210, 'height'=>423 ); // images for fullsize pages and fullsize slider
and adjust the sizes as needed and then regenerate thumbnails using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/
Regards,
Yigit -
AuthorPosts
- You must be logged in to reply to this topic.