From 6fa9ccb5523489b5fd928107c5a9f8652c335101 Mon Sep 17 00:00:00 2001 From: Samir Boulahtit Date: Sun, 23 Nov 2025 06:30:23 +0100 Subject: [PATCH] fix: use proper SVG placeholder image across all shop templates MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Issues fixed: - placeholder.jpg contained SVG content but browsers won't render SVG in .jpg files - Multiple templates referenced wrong placeholder paths Changes: - Rename placeholder.jpg to placeholder.svg with proper SVG file - Update product.html to use /static/shop/img/placeholder.svg - Update products.html to use /static/shop/img/placeholder.svg - Update cart.html to use /static/shop/img/placeholder.svg (was /static/images/) All shop pages now correctly display placeholder images when products have no image_link set. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- app/templates/shop/cart.html | 2 +- app/templates/shop/product.html | 4 ++-- app/templates/shop/products.html | 2 +- static/shop/img/{placeholder.jpg => placeholder.svg} | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename static/shop/img/{placeholder.jpg => placeholder.svg} (100%) diff --git a/app/templates/shop/cart.html b/app/templates/shop/cart.html index a1c814b8..58d0fd76 100644 --- a/app/templates/shop/cart.html +++ b/app/templates/shop/cart.html @@ -45,7 +45,7 @@