Open pepebe opened 4 years ago
Quick update: The propblem seems to go deeper and the symptoms are highly erratic. I just saved the resource, reloaded the frontpage and suddenly all images are jpg again. Not a single webp image.
I'll investigate some more and post updates as soon as I find out more.
Hi @pepebe it has to do with the version of Imagine being used by Resizer. The latest version that could be used in Resizer is 0.7.x. Upgrading to 1.x and higher requires quite a bit of refactoring. I have a fork of Resizer in which I'm working on that, but it's slow going. If you are interested in collaborating on it, let's discuss :)
@sepiariver My graphic-foo is limited, but I will try to support your cause. Is there a todo list with things that need to be done?
@sepiariver I'm having these issues too and just tried installing your 2.0.1-dev package. Got it working after changing line 354 in Reductionist.php: $image->getFormat()
was throwing a fatal error and changing it to $image->get('format')
seems to work.
Still no luck with the webp images though.. How far along would you say this dev version is?
I'm trying to create webp images with pthumb, but using Resizer instead of phpThumb seems to cause problems.
Steps to reproduce:
Create a webP Thumbnail with pThumb:
Environment:
Regards,
pepebe