Image field with cropping

Permalink Browser Info Environment
Hi,

Like the old Concrete <=5.6 days we had an image cropper in the composer, that would launch after an image was selected where an image could be cropped to a certain size - the cropper was not very flexible and I even believe it was made with flash. It would be nice to have such opportunity within this block designer maybe with the use ofhttp://fengyuanchen.github.io/cropper/... - so that you could choose an image and get that cropped to a predefined size in the block designer and save a copy of the cropped image, whic would be used in the block.

something like in this example I just made would be nice (I used it for a blog post then)

https://www.youtube.com/watch?v=G9hA_cTIdbw&feature=youtu.be&...

Type: Pre-Sale
Status: In Progress
hjelmdal
View Replies:
ramonleenders replied on at Permalink Reply
ramonleenders
Hi there,

This looks an interesting way to crop on-the-go! I'm not sure though how to use that with the image helper within concrete5... Do you have an example of this code or do you have any coding skills yourself to give an example with the current 5.7 version of concrete?

Kind regards,

Ramon
hjelmdal replied on at Permalink Reply
hjelmdal
i don't exactly know how it works but I can see that the old flash cropper still exist in concrete5.7 source code at concrete/blocks/image/tools/crop_image.php

concrete5 Environment Information

none needed :-)

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.