How would we add a photo to each product in the Shipment Picklist in Suivant Ready Theme? (or any other)
Add photo to Shipment Picklist
Collapse
X
-
-
Re: Add photo to Shipment Picklist
I ended up going back to Toolkit to put the image on the picklist, but now have a full size image that will not reduce to 42x42 thumbnail size.
I selected Product Image Machine, set the size of main at 42x42 and used this code
<mvt:item name="toolkit" param="customimage|big|l.all_settings:item:product _id|main|42|42|1" />
<mvt:if expr="g.big">
<div class="imagesize"><img src="&mvt:global:imageroot;&mvte:global:big;"></div>
</mvt:if>
It keeps defaulting to the main image size 500x500 because of the 1 in the last setting of the Toolkit code. So I wrapped it in a div and assigned the size to the div. Doesn't work.
Any suggestions?
-
Re: Add photo to Shipment Picklist
You would need to assign the size to the image.
Try this css style:
.imagesize img {max-width: 42px;}
Or inline:
<img style="max-width: 42px;" src="&mvt:global:imageroot;&mvte:global:big;">Ron Frigon
Jedi Webmaster Obi-Ron Kenobi
Comment
Comment