5.6.x - Image Helper, Specify Crop Coordinates

Permalink
Hello,
I'm experimenting a bit so this is a little pie in the sky... but please bear with me.

I see the concrete5 image helper has some lines that reference X and Y coordinates where it's doing some cropping. My frustration with how images are cropped now is that you cannot specify where to crop, it just aims for the middle and with some clients, no matter how much you try to train and educate them, they'll still try to upload a portrait image into a slideshow intended for landscapes, and then complain when their head is cut off in the picture.

If I were to say, grab coordinates using a plugin in jCrop on the front end of a block edit interface and then save those coords, feed them into the view along with the image... then use the image helper so it maybe did something like:

$my_cropped_pic = $ih->getThumbnail($fObj, $w, $h, true, $x, $y)->src;


What kind of modifications to the image helper would I need to make to make this a reality?

SpatialAnomaly
 
italinux replied on at Permalink Reply
italinux
Hello there

Have you found a solution for this?
As I am very interested .. I can't find a way around either.

So please let me know,
Thanks in advance