i use a custom theme on a multisite installation with stream definitions:
image:
type: Stream
prefixes:
'': ['environment://images']
and in the themes blueprint.yaml i have this form:
form:
validation: loose
custom_logo:
type: file
label: THEME_QUARK.ADMIN.CUSTOM_LOGO
size: large
destination: 'environment://images/logo'
multiple: false
markdown: true
description: THEME_QUARK.ADMIN.CUSTOM_LOGO_DESCRIPTION
accept:
- image/*
By uploading an image at the themes settings page i get:
Failed to upload logo.png: This looks like a network error, the endpoint might be blocked by an internet provider or a firewall.
The folders exist and if i change it to:
destination: 'user://images/logo'
it workes, but i the environment://... streams should work too.
i use it for keeping logos inside the environment path (user/env//images/logo), not outside in (user/images/logo)
It seams that the environment://.. streams are not available or not getting evaluated to the time where the image uploads?
i use a custom theme on a multisite installation with stream definitions:
and in the themes blueprint.yaml i have this form:
By uploading an image at the themes settings page i get:
Failed to upload logo.png: This looks like a network error, the endpoint might be blocked by an internet provider or a firewall.The folders exist and if i change it to:
destination: 'user://images/logo'it workes, but i the environment://... streams should work too.
i use it for keeping logos inside the environment path (user/env//images/logo), not outside in (user/images/logo)
It seams that the environment://.. streams are not available or not getting evaluated to the time where the image uploads?