The ability to specify a crop type on an image by image basis is built into the code - there just doesn't seem to be any documentation for it.
you can do it like this for example
<img src="/slir/w150-h100-c15x10xsmart/path/to/image.jpg"/>
I have added xsmart to the crop parameter
you can use:
xcentered
xtopcentered
xsmart
To crop from the bottom create a file in
core\libs\gd\croppers\
which is a copy of topcentered.class.php
and edit to this:
public function getCropY(SLIRImage $image)
{
return $image->getHeight() - $image->getCropHeight();
}
Also need to change the class name
You then need to add in a parameter which is the same name as the filename you created into
core\slir.class.php
apologies to the author if any of this is incorrect, but it has worked for me