Tagged: , , ,

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

    Dear Enfold-Support,

    for an Ajax-Portfolio we require the image loaded in the ajax section to be in a correct aspect ratio relative to 1900×900. This is meant for the image size “gallery” and “portfolio_small”.

    In Enfolds function.php I found the corresponding definitions. I copied the code over to my child themes functions.php, but the modifications are ignored.

    How can I achieve the following modification in my child themes function.php to be recognised?

    $avia_config['imgSize']['portfolio_small'] 		= array('width'=>260, 'height'=>123, 'crop'=>false );						// images for portfolio 4 columns
    $avia_config['imgSize']['gallery'] 		 		= array('width'=>845, 'height'=>400, 'crop'=>false );						// images for portfolio entries (2,3 column)
    $avia_config['imgSize'] = apply_filters('avf_modify_thumb_size', $avia_config['imgSize']);

    845×684 should become 845×400 and 260×185 should become 260×123 and both should not be cropped. What am I missing?

    Thank You very much,
    Thomas

    • This topic was modified 8 years, 10 months ago by mailworm.
    #453703

    Uh, sometimes it’s strange, simply because I used the wrong key for the search. Found a solution here: https://kriesi.at/support/topic/ajax-portfolio-change-ajax-portfolio-image-sizing/

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Ajax Portfolio: Change ajax-portfolio-image sizing?’ is closed to new replies.