datocms / plugins

Repository providing samples using the Plugins SDK
MIT License
33 stars 47 forks source link

[shopify-product] make image cropping optional #108

Closed LorenzoGalassi closed 1 month ago

LorenzoGalassi commented 1 month ago

I edited the code directly from GitHub so it is likely that there may be errors on the files not directly edited. However, the idea is to make image cropping controllable from the plugin settings, so as not to force it regardless making the plugin unusable in some scenarios where the whole image is needed.

stefanoverna commented 1 month ago

Thanks for the feedback! I don't think it makes sense to add an option to make the previews square or not. We have released a new version 1.0.1 that removes the cropping altogether.