backdrop-contrib / shopify

Integrate and sync your site with a Shopify store.
GNU General Public License v2.0
0 stars 1 forks source link

Image style missing #19

Closed laryn closed 2 years ago

laryn commented 2 years ago

The D7 module creates an image style shopify_product_thumbnail that isn't present in the Backdrop version.

I'm not sure it's necessary to create a separate image style by default. Maybe it's enough just to use one of the default core image styles and people can create a custom style if they wish?

laryn commented 2 years ago

This is because hook_image_default_styles doesn't work in Backdrop. We could create a config file for this image style and add it to the config directory but all the default style does is resize width to 150. I think I'll just set the default display to use the core medium image style and allow people to customize it on their own if they wish.