안녕하세요, 시스템에서 직접 컴포넌트를 생성하고 그 안에 GIF 이미지를 업로드했습니다. 이제 이 이미지를 커스텀 코드에서 사용하고 싶은데, 어떻게 해야 하는지 궁금합니다. 현재는 완전 연결(풀 URL) 방식으로 접근하고 있는데, 이렇게 공개 네트워크를 통해 접근할 경우 성능에 영향을 주는지 알고 싶습니다.
제가 이해한 대로라면, about.json 파일에서 theme_uploads를 사용하고, 코드에서 이를 참조할 수 있을 것 같습니다.
Themes and theme components allow you to handle uploaded assets such as images and fonts. You can control what assets your theme accepts using the site setting: theme authorized extensions
Including assets in themes and components
For remote themes
Remote themes include:
Themes and components installed from the Popular list of themes
Themes and components installed using the From a git repository method
To upload assets to a remote theme or theme component, see Create and share a font theme …
답변 감사합니다. 말씀해 주신 방법으로 성공적으로 완료했습니다. 다시 한번 감사합니다.