Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #28868

    Hi, I followed the instructions in your documentation, but when I add the code (below) in my functions.php child theme, nothing changes

    $avia_config = array(‘width’=>500, ‘height’=>300 ); // images for portfolio entries (2,3 column)

    Please help..thanks!

    #138908

    Hey,

    You need to regenerate the thumbnails using this plugin: http://wordpress.org/plugins/regenerate-thumbnails/

    Regards,

    Ismael

    #138909

    Hmm..that didn’t work. This is what the entire child functions.php looks like:

    <?php

    /*

    * Add your own functions here. You can also copy some of the theme functions into this file.

    * WordPress will use those functions instead of the original functions then.

    */

    $avia_config = array(‘width’=>500, ‘height’=>300 ); // images for portfolio entries (2,3 column)

    Is there anything missing?

    #138910
    #138911

    Still doesn’t work.

    #138912

    When I do change the theme’s functions.php, I noticed that it only changes the width and then keeps the image proportional…rather than cropping. Can I change it so that it crops the image?

    #138913

    Hi htarrant,

    After each change of the function you must regenerate your thumbnails to have the changes reflected on your actual images. For cropping, you need to set crop to true. For example:

    $avia_config['imgSize']['extra_large'] = array('width'=>1500, 'height'=>1500 , 'crop' => true); // images for fullscreen slider

    Regards,

    Devin

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Changing Image Sizes’ is closed to new replies.