kevbaldwyn / image

Responsive images and on the fly image sizing for laravel 4 and fuel php
23 stars 13 forks source link

Conflict with Intervention/image #25

Open timenz opened 9 years ago

timenz commented 9 years ago

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.

kevbaldwyn commented 9 years ago

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.