I'm trying to append CDN url to all image resources across the site.
current code looks like this $this->Html->image('img.png'). I found that there's an option to append baseURL ['fullBase' => true], but I couldn't find an option to append custom URL that would route to desired CDN. Is there a way to create a custom setting that would point to CDN url such as ['CDN_URL_1' => true] or any other clean way to achieve this?
The other approach I can think about is appending path like so $this->Html->image($customURL.'img.png'), but this might not be the correct approach.
Thanks!