Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #439422

    Hi there, could you help me get the featured images to show full size in post pages?

    http://www.theburningear.com/2015/05/woolf-and-the-wondershow-cloaked-thats-nice-remix/

    Right now they are cropped according to what seems like a %. Also, how can I adjust that % crop function if I need to? Can I change it to a static crop size? Especially on the homepage.

    Thanks!

    #439886

    Hi Brandon!

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

    and change the sizes as needed and then regenerate thumbnails using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/

    Cheers!
    Yigit

    #439925

    Great, this will be good for adjusting thumbnail ratios but what about just simply showing the whole image? Is there a way to turn OFF thumbnails and just have the full (original) ratio featured image show on a post page? I think I’ve seen it.

    #440846

    Hi!

    Edit includes > loop-index.php then look for this code around line 40:

    /*
         * retrieve slider, title and content for this post,...
         */
        $size = strpos($blog_style, 'big') ? (strpos($current_post['post_layout'], 'sidebar') !== false) ? 'entry_with_sidebar' : 'entry_without_sidebar' : 'square';
    

    Replace it with:

    /*
         * retrieve slider, title and content for this post,...
         */
        $size = strpos($blog_style, 'big') ? (strpos($current_post['post_layout'], 'sidebar') !== false) ? 'full' : 'full' : 'square';
    

    Best regards,
    Ismael

    #503728

    Can you do this in a child theme?

    enfold-child > includes > loop-index.php

    #503838

    Hi!

    Yes, that should work as well. Make sure to create a change log of the code modifications just in case.

    Best regards,
    Ismael

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