afatmustafa
08/31/2021, 7:27 PMifox
08/31/2021, 7:27 PMifox
08/31/2021, 7:27 PMafatmustafa
08/31/2021, 7:28 PMKlief
09/01/2021, 9:00 AMKlief
09/01/2021, 9:00 AMifox
09/01/2021, 12:32 PMKlief
09/01/2021, 12:33 PMifox
09/01/2021, 12:46 PMuser
09/01/2021, 1:24 PMpboivin
09/01/2021, 1:32 PMuser
09/01/2021, 1:36 PMmydomain.com/img/hash/name.jpg
by default. How do I serve it as cdn-mydomain.com/img/hash/name.jpg
instead? Is there a way for me to tell twill to change the default path before showing the image?ifox
09/01/2021, 1:43 PMpboivin
09/01/2021, 1:44 PMMEDIA_LIBRARY_IMAGE_SERVICE
?ifox
09/01/2021, 1:44 PMimg
in the path shared)user
09/01/2021, 1:44 PMA17\\Twill\\Services\\MediaLibrary\\Glide
ifox
09/01/2021, 1:45 PMtwill.glide.base_url
might workpboivin
09/01/2021, 1:46 PMuser
09/01/2021, 1:46 PMifox
09/01/2021, 1:48 PMGLIDE_BASE_URL=https://cdn-mydomain.com
user
09/01/2021, 1:49 PMifox
09/01/2021, 1:49 PMifox
09/01/2021, 1:49 PMpboivin
09/01/2021, 1:52 PMuser
09/01/2021, 1:52 PM/img/
instead of /uploads/
part of the path? Even though the local path is set to /uploads/
in the config of media-library.php, the MEDIA_LIBRARY_LOCAL_PATH
?ifox
09/01/2021, 1:52 PMuser
09/01/2021, 1:53 PM/img
I get redirected back to mydomain.com/img/~
instead of leaving it as cdn-mydomain.com/img/~
user
09/01/2021, 1:53 PM/uploads/
instead of /img/
the images get served from cdnifox
09/01/2021, 1:53 PMifox
09/01/2021, 1:54 PM