Using composer image crop in other context?

Permalink
Hi,

I would like to know if it is possible to use/convert the image crop from the composer as for example a stand alone block where you want to have fixed image sizes?

That would be a great feature..

Also maybe in other news blocks or so? - I think the image crop is a very great feature and it should be spread more out across c5!!

Thank you in advance!

pixel8
 
Mainio replied on at Permalink Reply
Mainio
In the new concrete5.5.2 you can use the built-in image editor.

Example available in:
/concrete/elements/files/edit.php


I think this one should be preferred if you're running the latest version.

If you want exactly the same cropper that used in the composer, you can check example from:
/concrete/blocks/composer/thumbnail.php


Antti
pixel8 replied on at Permalink Reply
pixel8
I have looked at these, but unfortunately it really does not help me on how to use it in another block :-(
Mainio replied on at Permalink Reply
Mainio
Yeah, sorry. That's the best "documentation" available on those features. I don't happen to know anything more detailed one (like many other features in c5).

Just try, fail and learn, that's the path to get the thing done. :)
pixel8 replied on at Permalink Reply 1 Attachment
pixel8
yay! I finally succeeded in making this work :-)

Thank you very much for your help!
petervdbroek replied on at Permalink Reply
Can you share your solution with us?

We're looking for the same functionality.
facerX replied on at Permalink Reply
facerX
I concur; it'd be nice to know how you accomplished this.