Add photo to Shipment Picklist

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • coca cola
    Mini Mivite

    • Sep 2009
    • 82

    #1

    Add photo to Shipment Picklist

    How would we add a photo to each product in the Shipment Picklist in Suivant Ready Theme? (or any other)
  • coca cola
    Mini Mivite

    • Sep 2009
    • 82

    #2
    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?

    Comment

    • Ron Frigon
      Mighty Mivite



      • Dec 2009
      • 651

      #3
      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

      • coca cola
        Mini Mivite

        • Sep 2009
        • 82

        #4
        Re: Add photo to Shipment Picklist

        That worked - my deepest thanks.

        Comment

        Working...
        X