Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #382534

    Hi,
    when I upload pictures, they are stored in many individual formats. This produces too much garbage. Is there a possibility to prevent this in enfold? Can I determine which of these formats are stored?
    Best regards

    Will

    • This topic was modified 9 years, 11 months ago by willblueland.
    #382776

    Hey willblueland!

    I haven’t tested this out but try deleting lines 473 – 477 in /enfold/framework/php/function-set-avia-backend.php.

    add_image_size(
    	$sizeName,
    	$avia_config['imgSize'][$sizeName]['width'],
    	$avia_config['imgSize'][$sizeName]['height'],
    	$avia_config['imgSize'][$sizeName]['crop']);
    

    And then upload a new image to your media library to see what happens.

    Cheers!
    Elliott

    #383659

    Hi Elliott,
    your advice works, then is really only one image there. However, only one format. This creates even more problems.
    I have now decided to use the plugin “DX Delete Attached Media”. This can also avoid a lot of garbage data.

    Best regards

    Will

    • This reply was modified 9 years, 11 months ago by willblueland.
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Prevent unused image formats’ is closed to new replies.