Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #501315

    Hi

    Please could you help with image sizes for:

    1) Thumbnails

    2) Featured Image on single post

    In both cases, the image is cropped, cutting off the top & bottom (single posts) and sides (thumbnails).

    I have tried CSS as well as downloading the Image Size plugin to customize image sizes, but still no luck.

    Ideally, I would like the entire image to be shown.

    Thanks for your help

    #501722

    Hi kalebw!

    You can find those sizes around line 117 in the /enfold/functions.php file.

    $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
    $avia_config['imgSize'] = apply_filters('avf_modify_thumb_size', $avia_config['imgSize']);
    

    You can copy the format and set cropping to false. Or if you want to display an image in it’s full size, no thumbnail then switch the line to this.

    $avia_config['imgSize']['portfolio'] 		 	= 'full';
    

    After doing your edits you’ll need to regenerate the thumbnails, http://wordpress.org/extend/plugins/regenerate-thumbnails/.

    Best regards,
    Elliott

    #501732

    Thanks, but this doesn’t work & it also doesn’t affect the featured image on the single posts page.

    #501780

    Hi kalebw!

    this plugin should do the job for you: https://wordpress.org/plugins/simple-image-sizes/
    Don’t forget to clear browser cache and hard refresh a few times afterwards.
    Refer to this answer as well if it does not work using the plugin: https://kriesi.at/support/topic/enfold-image-sizes/#post-336176

    Best regards,
    Andy

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.