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

    Dear all,
    I got a question for you. The single post page, when I click on the article url, cand be settled in 2 different ways. Small or large preview of the feature image (in the simple editor page). Both options are settled with automatic pic size. It means that in the single post page my pics get cut.. Is there a way I can change the dimension of the preview of the featured image?
    Thanks in advance

    #909315

    Hey soluzionando,

    Can you try to install this plugin: https://wordpress.org/plugins/simple-image-sizes/ after activating, go to Settings > Media. Find entry_with_sidebar size and change the height and width.
    Hope this helps :)

    Best regards,
    Nikko

    #910352

    Dear Nikko, thanks a lot for your reply.
    I am not very pro plug in since my effort to optimize the website is clashing with JAVASCRIPT and CSS errors. Any other suggestions? May I use a code-string, eventually?
    Thanks in advance for your reply.
    Regards,
    Desiree

    #910360

    Hi,

    Try editing this code in functions.php (line 155-166):

    $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 change the width and height values. Hope this helps :)

    Best regards,
    Nikko

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.