Add a prefix argument to Image::getUrl()
ausi opened this issue · comments
Martin Auswöger commented
To be used like:
$image = new Image('/path/to/root/foo/bar.jpg', ...);
$image->getUrl('/path/to/root', 'https://cdn.example.com/images/');
// 'https://cdn.example.com/images/foo/bar.jpg'