Fix broken product image tag, per webhelpers2

this still probably needs more attention but this will do for now
This commit is contained in:
Lance Edgar 2017-07-07 09:21:10 -05:00
parent 21476d8173
commit f0d177e5df

View file

@ -36,11 +36,7 @@
${self.render_main_fields(form)} ${self.render_main_fields(form)}
</div> </div>
% if image_url: % if image_url:
% if image_path is not Undefined: ${h.image(image_url, "Product Image", id='product-image', width=150, height=150)}
${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
% endif % endif
</div> </div>
</div> </div>