Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #845417

    Hi,
    I don’t know if it’s from Theme or Wordspress settings?
    But… Too many variations of media files after upload.
    19 different resolutions of one JPG file! Plus original resolution… :)
    How can I reduce them to … 3? or… i don’t know…

    My second question is how can I change the size of lightbox images?
    Now is 1030 pixels maybe…

    Thanks :)

    #845499

    in FUNCTIONS.PHP:

    $avia_config[‘imgSize’][‘widget’] = array(‘width’=>36, ‘height’=>36); // small preview pics eg sidebar news
    $avia_config[‘imgSize’][‘square’] = array(‘width’=>180, ‘height’=>180); // small image for blogs
    $avia_config[‘imgSize’][‘featured’] = array(‘width’=>1500, ‘height’=>430 ); // images for fullsize pages and fullsize slider
    $avia_config[‘imgSize’][‘featured_large’] = array(‘width’=>1500, ‘height’=>630 ); // images for fullsize pages and fullsize slider
    $avia_config[‘imgSize’][‘extra_large’] = array(‘width’=>1500, ‘height’=>1500 , ‘crop’ => false); // images for fullscrren slider
    $avia_config[‘imgSize’][‘portfolio’] = array(‘width’=>495, ‘height’=>400 ); // images for portfolio entries (2,3 column)
    $avia_config[‘imgSize’][‘portfolio_small’] = array(‘width’=>260, ‘height’=>185 ); // images for portfolio 4 columns
    $avia_config[‘imgSize’][‘gallery’] = array(‘width’=>845, ‘height’=>684 ); // images for portfolio entries (2,3 column)
    $avia_config[‘imgSize’][‘magazine’] = array(‘width’=>710, ‘height’=>375 ); // images for magazines
    $avia_config[‘imgSize’][‘masonry’] = array(‘width’=>705, ‘height’=>705 , ‘crop’ => false); // images for fullscreen masonry
    $avia_config[‘imgSize’][‘entry_with_sidebar’] = array(‘width’=>845, ‘height’=>321); // big images for blog and page entries
    $avia_config[‘imgSize’][‘entry_without_sidebar’]= array(‘width’=>1210, ‘height’=>423 ); // images for fullsize pages and fullsize slider

    If I have a site for wedding photography … and put 30 galleries with 300 pictures each … I’ll have 180,000 files
    This is the limit of my hosting plan :D

    What is the solution?

    #845535

    Now I’m looking for 768×513 size … Where this code is made … :(

    #845537

    The problem is solved!
    This code removes the 768 size …

    function paulund_remove_default_image_sizes( $sizes) {
    unset( $sizes[‘medium_large’]);
    return $sizes;
    }
    add_filter(‘intermediate_image_sizes_advanced’,’paulund_remove_default_image_sizes’);

    —— ! ! ! ——-

    In Settings -> Media -> set to 0

    in functions.php make correction ;) Except 36×36 thumbnails :D

    in enfold/config-woocommerce/config.php make correction

    … and voilà !

    #846111

    Hi,

    Thank you for using Enfold.

    Glad you found a solution.

    Enjoy the theme and feel free to open a new topic when you need further assistance.

    Best regards,
    Günter

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Too many variations of media files’ is closed to new replies.