Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1101083

    is there a way to override the dimensions instead of those included in the Enfold admin?

    I usually have images 3000 pixels wide, so the only way to achieve this is to use Full Size.

    Ideally I also need to have more square alternatives such as 1000 x 1000 and 1500 x 1500 etc.

    Thanks

    #1101700

    Hey ColinWalton,

    You can modify the existing image size using the following code:

    add_filter( 'avf_modify_thumb_size', 'enfold_customization_modify_thumb_size', 10, 1 );
    function enfold_customization_modify_thumb_size( $size ) {
      $size['extra_large'] = array('width'=>3000, 'height'=>3000);
      return $size;
    }

    Hope it helps.

    Best regards,
    Nikko

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.