We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36573
    • 173 Posts
    I have a ditto that I would like to use a the product photo for. I have photos inserted into the product page using a TV. In the ditto tpl chunk I have a call to the TV but I do not receive the image. The chunk code is below.

    <div> 
        <div id="prud_thumb"><img src="[*product_image01*]" alt="Black"/></div>
        <div>
       <h3><a href="[~[+id+]~]">[+pagetitle+]</a></h3> 
       <p>[+content:limit=`100`+]</p>
    </div> 
    </div>
    


    Thanks for any help
      Everything I know I learned on the internet. Saved me thousands in College tuition,
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      When using Ditto, you have to use placeholder tags: [+product_image01+]. If you use TV tags, [*product_image01*], you are telling it to get the TV from the page the Ditto tags are on. The placeholders are what Ditto uses for each item’s document as it loops through the list of documents to display.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org