Hi all,
There’s an early alpha version of FredCropper out now.
It’s still lacking a bunch of planned features, the interface isn’t finished (note the bottom of the modal), and it needs a lot of testing.
As it’s alpha, don’t use it on a production site.
It requires Fred to also be installed of course, and it doesn’t support Internet Explorer.
You can install it via the MODX package manager and please report any issues at the github page:
Hope it’s found to be useful!
Cheers,
Murray
6 Likes
Excellent!!! Many thanks!
I will use this on my projects for sure.
This looks awesome! When I get a chance to use FRED again I’ll be all over this.
Thanks a lot, was one of the more badly needed features for FRED, hope to test it out soon!
Hi I am starting to USE Fred again but this does not work for me anymore…
Use:
"FredCropper": [
{
"crops": [
{
"name": "desktop",
"label": "Desktop",
"size": "1920x400"
},
{
"name": "mobile",
"label": "Mobile",
"size": "768x600"
},
{
"name": "tiny",
"label": "Tiny",
"size": "300x150"
}
]
},
{
"sizes": "(min-width: 1200px) 1920w, 768w"
}
]
And:
<img src="/assets/components/any-screen-size-start/uploads/anne-laure-p-wVmz75D5ztk-unsplash.jpg" srcset="/assets/components/any-screen-size-start/uploads/anne-laure-p-wVmz75D5ztk-unsplash.jpg" data-fred-attrs="srcset,sizes,data-crop,alt,title" data-fred-name="something-unique">
sketchi
6
Did anyone get FredCropper to work with MODX 3 / Fred 3? It would have been great if someone was willing to do some updates to get it working