
-
AuthorPosts
-
March 7, 2022 at 4:34 pm #1343518
Hi there,
how can I set the size of the featured image of an blogepost. It is cropped automatically in the post itself and I don’t quite manage to change that according to your support documentation. I’d like also to get rid of the link on the image.Can you hint me to an solution?
Thanks in advance!
-
This topic was modified 3 years, 3 months ago by
luiseheine.
March 8, 2022 at 6:39 am #1343564Hey luiseheine,
Thank you for the inquiry.
You can actually select a specific thumbnail or image size in Blog Posts element. Set the Styling > Appearance > Preview Image Size settings to the second option, then select a thumbnail from the next dropdown. Let us know if that helps.
Best regards,
IsmaelMarch 14, 2022 at 8:34 am #1344350Hi Ismael,
unfortunatelly no, the issue is concerning the single blog post. Eg here
The image is cropped and the link on the image is redundant.
Any other suggestions?
Thank you in advance!Cheers
March 15, 2022 at 1:15 pm #1344558Hi,
Thank you for the clarification.
For the single post page, you have to modify the includes > loop-index.php file and define a different thumbnail in this code around line 85.
/* * 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';
The current thumbnail that is being used is called “entry_without_sidebar” which has a maximum size of 1210x423px. You can replace the current thumbnail with another image with a different size. This is a list of available thumbnails and their corresponding dimension.
$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
Best regards,
Ismael -
This topic was modified 3 years, 3 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.