Forums

Use jQuery crop tool and then send email with cropped image

veliit 26 Sep, 2017
I am wondering whether it is possible to have Chronoforms do this (the jQuery bit where image is cropped is working):
- show the cropping part (all in jQuery)
- when client has selected the area of the image they want, they can fill in their details and receive the cropped area by mail (copy send to us).
Is this possible?

The jQuery part that is working is done with Jcrop.

Thanks for any suggestion on how to do this, if at all possible.
GreyHead 26 Sep, 2017
Hi veliit,

I know nothing about Jcrop - what exactly does it do? Is the cropped image saved?

Bob
veliit 27 Sep, 2017
Hi Bob,
Jcrop does not do any saving, it shows a crop and one can save the various coordinates, but I was hoping this part could be done by Chronoforms.
Thanks!
GreyHead 28 Sep, 2017
HI veliit,

OK - so if jCrop allows you to add the cropping co-ordinates to the form data then you could use Custom Code in the form On Submit event to do the actual leg-work and re-size the image. There's some sample code here that would get you started.

Bob
Max_admin 29 Sep, 2017
1 Likes
Hi,

Some PHP code will be needed to do the image cropping according to the dimensions provided by the crop utility.

The feature may be added to a future Chronoforms release, let me know using the "Contact" form if you want to give this a priority.

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
veliit 29 Sep, 2017
Thanks Bob and Admin!
have a big part of the cropping tool working already (in blank module where I can add Javascript etc.), but not in Chronoforms, but maybe it is not difficult to get it in there, haven't tried yet.
Right now there is no hurry, I am playing with it and learning along the way.
Best wishes!
omanojbob 23 Aug, 2019
Dear Bob and Admin

I hope the crop tool may be now enabled or activated.
Can i know how to use crop tool while uploading the image in CF6

I hereby attach the image i saw in your website
xtremework 02 Sep, 2019
Hi Max.

is the crop feature released in CC6? very need of it
Max_admin 02 Sep, 2019
Hello,

Unfortunately no, it's not yet available for use in CF or CC

Best regards
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.