Hola,
Después de leer este gran artículo que ayuda a que K2 nos haga las miniaturas cuadradas
http://solojoomla.com/miniaturas-joomla-k2.html
Me gustaría saber cómo controlar la altura del resto de las imágenes, intenté esto:
Pero parece que no da resultado.
//Large 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.'_L';
if (JRequest::getInt('itemImageL')) {
$imageWidth = JRequest::getInt('itemImageL');
} else {
$imageWidth = $params->get('itemImageL', '600');
}
$handle->image_x = $imageWidth;
[b]$handle->image_y = $imageWidth/2;
$handle->image_ratio_crop = true; [/b]
$handle->Process($savepath);
¿Alguna solución?
Gracias por adelantado.