sachatrauwaen / OpenContent

Structured Content editing for DNN (Dotnetnuke)
46 stars 25 forks source link

Multi upload not working with ImageX #98

Closed Timo-Breumelhof closed 4 years ago

Timo-Breumelhof commented 5 years ago

It would be nice if we could use Multi upload in combination with ImageX :-) It works with the image filed, but not ImageX it seems.

https://opencontent.readme.io/docs/multi-upload

I noticed that it does upload the files, but ignores the folder setting:

{ "fields": { "Blocks": { "type": "multiupload", "items":{ "fields": { "Image":{ "label": "Image", "type": "imagex", "uploadhidden": false, "uploadfolder": "Images/Image-Blocks", "fileExtensions": "gif|jpg|jpeg|png", "fileMaxSize": 10000000, "showOverwrite": true, "overwrite": true, "showCropper": false, "cropfolder": "Images/Image-Blocks/Cropped", "saveCropFile": false, "width": 1500, "height": 1500 }, "Heading": { "type":"text" }, "Text": { "type":"ckeditor", "configset":"default" } } } } } }

This multi-uploads the images to OpenContent\Files\9021

Timo-Breumelhof commented 4 years ago

It also seems to ignore the overwrite setting of imagex, but that might be a good thing?

Timo-Breumelhof commented 4 years ago

fixed