0

I really want to have an organised files folder in my d8 project. I have two main media fields: field_banner AND field_image They appear in all my content types. I would like that all the the media uploaded from field_banner will go to sites/default/files/banners and all images will be uploaded into sites/default/files/images

and a bonus point: all media from the body field (wysiwyg ckeditor) will go to sites/default/files/[content-type-machine-name]

I have found how to do it with regular file field but I use media entity reference field How can I go about to doing this?

Thanks for your answers.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.