contao/image

Relative path parts don’t get removed

ausi opened this issue · 0 comments

ausi commented
$resizer = new Resizer('/path/to/subdir/../cache/dir');
$image = $resizer->resize(...);
$image->getUrl('/path/to');

This returns subdir/../cache/dir/image.jpg instead of cache/dir/image.jpg

Could probably get fixed by #11