Dasweb Posted January 31, 2022 Posted January 31, 2022 I use a CDN that pulls statics from my site, this works fine for logo, js, css, etc. I replaced the URL for statics in my website customization setting with my CDN url. I tried to do the same with screenshots, but it breaks the URL. What is the proper way to edit the pathing so that it still points to the correct url? {{$item.screen_url}}/{{$lang.videos.thumb_size}}/{{$item.screen_main}}.jpg I tried replacing {{$item.screen_url}} with my CDN URL, however it appears this also includes the pathing, which breaks the url. Quote
Dasweb Posted January 31, 2022 Author Posted January 31, 2022 Hi, I saw this, this appears to be for storing screenshots on a CDN, correct? Since I am pulling from my site, not storing, wouldn't this not apply? Quote
Tech Support Posted January 31, 2022 Posted January 31, 2022 Yes, this would apply. In setup.php for each storage directory (e.g. video screenshot directory) there are 2 variables defined: Filesystem PATH Public serving URL If you want them to be stored locally, but to be served from remote URL, all you need is to change URL variable and leave PATH variable as is. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.