Fix broken product image tag, per webhelpers2
this still probably needs more attention but this will do for now
This commit is contained in:
parent
21476d8173
commit
f0d177e5df
|
@ -36,11 +36,7 @@
|
|||
${self.render_main_fields(form)}
|
||||
</div>
|
||||
% if image_url:
|
||||
% if image_path is not Undefined:
|
||||
${h.image(image_url, "Product Image", id='product-image', path=image_path, use_pil=False)}
|
||||
% else:
|
||||
${h.image(image_url, "Product Image", id='product-image', width=150, height=150)}
|
||||
% endif
|
||||
${h.image(image_url, "Product Image", id='product-image', width=150, height=150)}
|
||||
% endif
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue