image
image copied to clipboard
Conflict with Intervention/image
trafficstars
This rarely happen in production we use two image manipulation library at same time, but when developing we will check one compare another library and I found that this library not working when we have library from https://github.com/Intervention/image enabled in providers.
route
Route::get('ok', function(){
// ImageSrc aliases for kevbaldwyn/image
return ImageSrc::path('image.jpg', 'resizeCrop', 400, 200);
});
result with Intervention/image enabled
?=image.jpg&=resizeCrop,400,200
result without
/_img?img=image.jpg&transform=resizeCrop,400,200
It's would be nice, if this can be fixed.
As you say this is a rare use case, so not a priority. Feel free to submit a PR though if you fix it yourself.