I would like to have my list view of events consistent for each event. So I would like to have all the thumbs in the same aspect ratio, in my case this would be a square image.
The settings in JEM let me set a max width and height, but this leaves the aspect ratio of the image the same as the original, with the longest side set to the max width or height.
I dug into the Zebra image class (com_jem/classes/Zebra_Image.php) and found that you cat set the preserve aspect ratio to false. Line 728:
$this->preserve_aspect_ratio = false;
This does create a square thumbnail, but the image is distorted, so it fits within the box. I would like to see the image cropped, not shrunk. Any idea how I can achieve this?
Note: I'm hacking core code here. I suggest creating a setting in the admin that gives you the ability to choose between crop or original aspect ratio.
I'm not sure what you mean. If a component makes use of a third party library within their own package, the developer of the component should be aware of updates of the used libraries, not the enduser. For two reasons: the end user has no idea what libraries are used and if there's a security update on a third party library, this should be fixed in the component a.s.a.p.
Theoretically I agree. But EVENTLIST-JEM had different developers, all with limited capacities and interests. I think each one made what he was capable to do. But I would say noone knows all of the great and big JEM project. So we need all hints who are found.
on JEM 2.3.0 stable in latest Joomla (3.9.19) Protostar php7.4.5