Catalog

Provides a full catalogue, with multi-categories and your own custom fields.

Back to Catalog Support

Fibonacci
Fibonacci

How to create thumbnail image when my image's extension is PNG? Because when I tried to create with this code,

{{ product.featured_images[0].thumb(300, 300) }}

It's always create new image with jpg extension.

Tiipiik
Tiipiik

Hi,

You can use this :

{{ product.featured_images[0].thumb(300, 300, { extension: 'png' }) }}

1-2 of 2