Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #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

    #290443

    Hi 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!
    Yigit

    #290710

    Hi – thanks – can I add this straight to my child theme’s functions?

    #290870

    guys 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?
    Cheers

    #290873

    Further 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

    #291261

    Hey!

    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,
    Devin

    #291342

    guys 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?

    http://awesomescreenshot.com/07535bte72

    #291408

    The 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.

    #291416

    okay – that worked for that one – I’ve gone and readded the other images as I couldn’t find them.
    Thanks anyway

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘blog featured image sizes no right’ is closed to new replies.