Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Update image size from 200x200 to 255x255

Liu Junxiao2a34ce727172
diff --git a/templates/dashboard/product/product_variant/_image_select.html b/templates/dashboard/product/product_variant/_image_select.html
index 0ca3e5f32a..9dc8a11463 100644
--- a/templates/dashboard/product/product_variant/_image_select.html
+++ b/templates/dashboard/product/product_variant/_image_select.html
@@ -7,7 +7,7 @@
<div class="image_select-item">
<input id="{{ choice.id_for_label }}" name="{{ choice.data.name }}" class="filled-in" type="checkbox" value="{{ choice.data.value }}" {% if choice.data.selected %}checked{% endif %}>
<label for="{{ choice.id_for_label }}"></label>
- <img id="{{ choice.id_for_label }}" class="responsive-img" src="{{ image.image.crop.200x200 }}" srcset="{{ image.image.crop.200x200 }} 1x" alt="">
+ <img id="{{ choice.id_for_label }}" class="responsive-img" src="{{ image.image.crop.255x255 }}" srcset="{{ image.image.crop.255x255 }} 1x" alt="">
<div id="{{ choice.id_for_label }}" class="image_select-item-overlay{% if choice.data.selected %} checked{% endif %}"></div>
</div>
{% endwith %}