simonhamp / the-og

A pure PHP OpenGraph Image Generator
MIT License
244 stars 12 forks source link

Fix errors occurred with Intervention Image 3.3.1 #27

Closed olivervogel closed 8 months ago

olivervogel commented 8 months ago

In the course of the update of the Intervention Image, there was a change which means that it is no longer possible to instantiate so-called "driver-specific" modifiers yourself. After the update the initialization is always done by a generic class via the respective driver class. This fix sets the initialization of the "driver specific class" to the static helper method used by the driver of the dependency itself.

See https://github.com/Intervention/image/issues/1281

simonhamp commented 8 months ago

Thanks for preparing this PR @olivervogel ! Greatly appreciated.