I have created a Profile with an Image Field which has a Directory Field as 'files/' then in the box for me to fill in the subdirectory I was hoping to be able to use a Token according to the Username as in [user:name] but when I save the image it goes in a folder '/files/[user:name]/'. It has not created the Folder according to the username.
I have had a look at the 'Token Filter' module, but that does not do it. I think I need the 'File (Fields) Path' module, but that is not in backdrop-contrib.
Is there any way round this?
Recent comments
This is a security precaution. It's not recommended and it's not documented in the settings.php file, but you can set allow_insecure_uploads to be TRUE if you wish to allow uploading files like...
How to upload js and gz files
You could also just add an image field to the content type but not display it and instead reference them in your markdown.
Images Disappearing from inline-images
You can create a small custom module using this hook: https://github.com/backdrop-contrib/webform/blob/136c20cb1c51cea203f3f0bc5355237c1d4dbf84/webform.api.php#L652-L678 /** * Determine...
specific webform permissions
try sample.js.gz or sample.framework.js.gz or sample.js or anything smiliar and .js even if its not the file extension or it is, it will be renamed to _js. This is hardcoded security thing and i...
How to upload js and gz files
You can upload them through Content > Manage files > Add files (URL: /file/add) and they will be marked as permanent. Note that you should be able to multiselect or drag multiple images...
Images Disappearing from inline-images