How do I add assets like audio, images or videos to my projects?
Assets that aren't code and text files are saved in their own section on the top of the file directory in the Glitch editor, named "Assets."
To see what images or other files the project has:
- In the Project Editor view, click 'Assets'.
To get the URL of any of these assets to use in your project code by:
- Clicking on the file, which will open a modal box containing the URL to copy.
To add an asset:
- Click the 'Upload an Asset' button within the 'Assets' window or drag and drop a file into the editor
Note: Any files put into a project’s “assets” area are technically public, even if the project is private.