diff --git a/templates/bundles/SyliusShopBundle/Product/_mainImage.html.twig b/templates/bundles/SyliusShopBundle/Product/_mainImage.html.twig index defb8e6..60090d2 100644 --- a/templates/bundles/SyliusShopBundle/Product/_mainImage.html.twig +++ b/templates/bundles/SyliusShopBundle/Product/_mainImage.html.twig @@ -3,9 +3,9 @@ {% elseif product.images.first %} {% set path = product.images.first.path|imagine_filter(filter|default('sylius_shop_product_thumbnail')) %} {% else %} -{% endif %} {% set size = random(5) * 200 %} {% set path = "https://picsum.photos/#{ size }/#{ size }.jpg" %} +{% endif %}
{{ product.name }}