lundi 2 janvier 2017

Zooming option in image.intervention.io library

I have a tool in the Front-End for zooming (option) thumb image & the following are the parameters that I sending to Back-End to do the same

Width (220)
Height (220)
X-Coordinate (259)
Y-Coordinate (15)
Scale/Zoom (1.2894731191281543)

Is anyone have an idea to implement this ?

Note: Currently, I'm using the following code for cropping

$thumbnail_image = $thumbnail_image->crop($width, $height, $x, $y);



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire