mivajenn
8/19/2015 - 9:44 PM

Load Single Image From ImageType - (here the second parameter is hard coded to 1. This will return the image type with an id of 1, which typ

Load Single Image From ImageType - (here the second parameter is hard coded to 1. This will return the image type with an id of 1, which typically should be main)

<mvt:do name="l.success" file="g.Module_Library_DB" value="ProductImage_Load_Type(l.settings:product:id, 1, l.settings:imagetype)" />
<mvt:do name="l.success" file="g.Module_Library_DB" value="Image_Load_ID(l.settings:imagetype:image_id, l.settings:imagedata)" />
<mvt:assign name="g.socialImage" value="g.baseurl $ l.settings:imagedata:image" />