Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edition & Media - Document the DefaultRoot property of ExternalResource edit type #107

Open
5 tasks
mdouchin opened this issue Jan 15, 2019 · 0 comments
Open
5 tasks

Comments

@mdouchin
Copy link
Collaborator

mdouchin commented Jan 15, 2019

See 3liz/lizmap-web-client@b1d369e

Need to document

  • Read this DefaultRoot value if present in the ExternalResource parameters
  • Stores the uploaded files in this path if it is relative to the project directory
  • Only ../media/ or folder inside media/ are allowed. If not correct, use the classical media/upload/projectname/layername/fieldname/filename.ext
  • The media URL can provide files and images in the ../media/ directory and sub-directories
  • Lizmap can load JS files and CSS in the ../media/js/. These files will be loaded for any Lizmap map
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants