Hi, In order to preserve space on my server, i would like K2 stop generating Xlarge image.
I 'm ready to hack core file if needed (as i have my own process to update my websites)...
Si I have noticed that the info to generate images for K2 is in file administrator > components > com_k2 > models > item.php
Will it be enough to just coment for example from line 322 to line 339 for XLlarge images :
//XLarge image
$handle->image_resize = true;
$handle->image_ratio_y = true;
$handle->image_convert = 'jpg';
$handle->jpeg_quality = $params->get('imagesQuality');
$handle->file_auto_rename = false;
$handle->file_overwrite = true;
$handle->file_new_name_body = $filename.'_XL';
if (JRequest::getInt('itemImageXL'))
{
$imageWidth = JRequest::getInt('itemImageXL');
}
else
{
$imageWidth = $params->get('itemImageXL', '800');
}
$handle->image_x = $imageWidth;
$handle->Process($savepath);
Thank you for any advice. Specially if you have a better idea that doesn't hack core file :-)