Does anyone know how to edit the ElFinder presets for image cropping in FRED?
I don’t think this is possible (without changing a source file).
In theory you can define presets in the options when elfinder is called, but I don’t see a way to do this without changing the Fred JS-file:
You would have to add the presets to the variable commandOptions
(something like this)
commandsOptions['resize'] = {
presetSize : [
[111, 111],
[222, 222]
]
};
before it gets added to the options object here: