This question has been answered by rainbowtiger. See the first response.
[
{"caption":"Informations", "fields": [
{"field":"title","caption":"Titre de l'image"},
{"field":"image","caption":"Image","inputTVtype":"imageplus","configs":"{ \"targetWidth\":\"800\", \"targetHeight\":\"600\" }"}
]}
]{
"targetWidth":"",
"targetHeight":"",
"targetRatio":"",
"thumbnailWidth":"",
"allowAltTag":""
}{
"targetWidth":"",
"targetHeight":""
}No, it didn't work before. I posted that before testing it.
I found the issue. I entered the JSON into the config by copying and pasting this:
{ "targetWidth":"", "targetHeight":"" }
But the JSON string, when copying using "Edit raw" inserts "\n" where there are line feeds, which makes it not work. I removed the line breaks, recopied and pasted the JSON, and now it works.