yireo / Yireo_Webp2

Magento 2 module to add WebP support to Magento 2
Open Software License 3.0
194 stars 54 forks source link

fix converter issue by changing array to string with a foreach #140

Closed ghezelbash closed 1 year ago

ghezelbash commented 1 year ago

Convertor method is an array of methods in yireo but the rosell-dk/webp-convert module needs just one method as a string to do the convert. The convertors item is removed from $options array and a foreach added based on convertors object to send convertor methods one by one.

jissereitsma commented 1 year ago

Sorry for the long delay, but this is actually a pretty cool solid fix. It will be included in the next release! Thanks!