For example, a TIFF file, with a JPEG pwg_representative, and the user wants the medium size.
With current version 2.2.3, you can add $conf['batch_download_additional_ext'] = array('tif', 'TIF', 'tiff', 'TIFF'); and you will be able to batch download TIFF files. If you ask for the "medium" size, you will get the original TIFF file, which might not be what the user expects.
I would like to change this behavior (and I will also do it in Download By Size to stay coherent) : if you have a pwg_representative, then you get the multiple size based on this image, instead of the original. Unfortunately it would not make sense for all file types. For example videos or multiple pages PDF file would not be correctly exported as a smaller size of their representative image.
We could have $conf['batch_download_use_representative_for_ext'] = array('tif', 'TIF');
For example, a TIFF file, with a JPEG pwg_representative, and the user wants the medium size.
With current version 2.2.3, you can add
$conf['batch_download_additional_ext'] = array('tif', 'TIF', 'tiff', 'TIFF');
and you will be able to batch download TIFF files. If you ask for the "medium" size, you will get the original TIFF file, which might not be what the user expects.I would like to change this behavior (and I will also do it in Download By Size to stay coherent) : if you have a pwg_representative, then you get the multiple size based on this image, instead of the original. Unfortunately it would not make sense for all file types. For example videos or multiple pages PDF file would not be correctly exported as a smaller size of their representative image.
We could have
$conf['batch_download_use_representative_for_ext'] = array('tif', 'TIF');
I'm working on the Pull-Request.