Browse Source

more validation

Juan Carlos 5 năm trước cách đây
mục cha
commit
df0b8b9b07
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      marktplatz/templates/marktplatz/product_detail.html

+ 2 - 2
marktplatz/templates/marktplatz/product_detail.html

@@ -175,7 +175,7 @@
 
 
 					<div class="image-detail" style="">
-					<img href="{{product.media_set.first.image_big.url}}" align="middle" src="{{product.media_set.first.image_norm.url }}" class="gallery img-fluid img-responsive"  alt="" style="width: 100%;height: auto;vertical-align: middle;">
+					<img href="{{product.media_set.first.image_big.url}}"  src="{{product.media_set.first.image_norm.url }}" class="gallery img-fluid img-responsive"  alt="" style="width: 100%;height: auto;vertical-align: middle;">
 
 					</div>
 
@@ -252,7 +252,7 @@
 						{% for media in product.media_set.all %}
 							{% if forloop.counter > 5  %}
 								<div style="flex: {% get_ratio media %}; margin:40px 60px 40px 0px;">
-									<img href="{{media.image_big.url}}" align="middle" src="{{media.image_norm.url }}" class="gallery img-fluid img-responsive"  alt="" style="width: 100%;height: auto;vertical-align: middle;">
+									<img href="{{media.image_big.url}}"  src="{{media.image_norm.url }}" class="gallery img-fluid img-responsive"  alt="" style="width: 100%;height: auto;vertical-align: middle;">
 								</div>
 							{% endif %}
 						{% endfor %}