-
AuthorPosts
-
May 5, 2015 at 12:20 am #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!
May 5, 2015 at 5:48 pm #439886Hi 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!
YigitMay 5, 2015 at 6:43 pm #439925Great, 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.
May 7, 2015 at 9:39 am #440846Hi!
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,
IsmaelSeptember 15, 2015 at 10:01 pm #503728Can you do this in a child theme?
enfold-child > includes > loop-index.php
September 16, 2015 at 7:49 am #503838 -
AuthorPosts
- You must be logged in to reply to this topic.