Announcement

Collapse
No announcement yet.

Calling the image machine

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Calling the image machine

    I would like to use the image machine to display the related items images I sized at 175px for an array of products that I obtained with the toolkit.

    this is a snippet of my old code

    <mvt:item name="toolkit" param="productincategory|incatcount|g.Product_Code " />
    <mvt:foreach iterator="sub_product" array="sub_products">
    <img src="&mvt:sub_product:thumbnail;" alt="&mvt:sub_product:name;" border=0 style="padding:0" width="175px">

    <img src="&mvte:product:imagetypes:main;" alt="&mvte:product:name;" title="&mvte:product:name;" />


    I want to use the image machine and get the call set up properly to use the size image I defined in the related products. For that matter I would like to understand how to call the machine to fetch the various size images I have defined throughout my site.

    Having read most of the posts on this the answer seems to be you can't get there from here. Use the custom image function in toolkit.

    http://www.miva.com/forums/forum/onl...=10&amp;page=1

    BUT it seems like the related items code can be modified to handle an array of product codes of my choosing. Any thoughts on that?
    Last edited by Charles Brauer; 04-22-16, 06:39 AM.
Working...
X