-
AuthorPosts
-
July 12, 2014 at 2:16 am #290360
Hi Guys – i’m struggling with the featured images on my blog – I have an image that’s 900 x 500 px but it’s cropping the height of the image to 200px – see here http://shortiedesigns.com/small-business-blog/ how do I maintain the original dimensions?
Thanks
July 12, 2014 at 2:25 pm #290443Hi ShortieD!
Please go to Appearance > Editor and open Functions.php file and find
$avia_config['imgSize']['entry_with_sidebar'] = array('width'=>710, 'height'=>270); // big images for blog and page entries
and change it to
$avia_config['imgSize']['entry_with_sidebar'] = array('width'=>900, 'height'=>500); // big images for blog and page entries
then regenerate thumbnails using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/
Cheers!
YigitJuly 13, 2014 at 4:47 am #290710Hi – thanks – can I add this straight to my child theme’s functions?
July 14, 2014 at 4:36 am #290870guys that didn’t work – I added this to my child theme and regenerated thumbnails and the image size is 720 x 270px . The width isn’t so much the issue as I understand it shrinks it down to fit into the container – but it’s the height that I need to fix
I tried this:
$avia_config[‘imgSize’][‘entry_with_sidebar’] = array(‘width’=>900, ‘height’=>500);any suggestions?
CheersJuly 14, 2014 at 4:43 am #290873Further to my message above where the new functions didn’t work – I also some of them are 270px in height and some of theme are 319px see here
http://awesomescreenshot.com/097353ffc2
Any assistance would be helpful thanks you
July 14, 2014 at 10:01 pm #291261Hey!
Try using this plugin instead of adding to the child theme: http://wordpress.org/extend/plugins/simple-image-sizes/
The child theme functions needs a bit more that just replacing that single setting to actually take effect and using the plugin above gives a gui to work with.
Regards,
DevinJuly 15, 2014 at 2:06 am #291342guys I’m happy to add more to my child theme functions.php – that plugin is very confusing and I have no idea which image size I’m changing?
See the theme options here – what image class am I supposed to change?
July 15, 2014 at 6:42 am #291408The names are somewhat self descriptive so in the plugin you can see the “entry_with_sidebar_size” and its showing as 710×270. If you look at your blog page and inspect the image that is being inserted into the page its http://shortiedesigns.com/wp-content/uploads/2014/07/Website-redesign-2-710×270.jpg – 710 by 270.
So you can change the dimensions, save, regenerate thumbnails and that will be that.
July 15, 2014 at 7:02 am #291416okay – that worked for that one – I’ve gone and readded the other images as I couldn’t find them.
Thanks anyway -
AuthorPosts
- The topic ‘blog featured image sizes no right’ is closed to new replies.