We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 52128
    • 29 Posts
    Quote from: lukemcd at Jun 13, 2016, 01:30 PM
    magzzs, you need to add "includeTVs" and "processTVs" to the getResources call to pull in TVs. So your call would change to:

    Then in your tpl chunk use something like this to see featured image:

    <img src="[[+tv.featured_image]]">


    Thanks a million, really appreciate it! still have a minor issue, it is not picking up for some reason:


    <p><img src="[[!getResources? &parents=`348` pthumb? &input=`[[*tv.image]]` &options=`h=100&w=100&zc=2` &s3output=`6`]]" alt="[[+pagetitle]] photo" style="float:left; margin-right:20px;">
    <a href="[[~[[+id]]]]">[[+pagetitle]]- [[+publishedon:strtotime:date=`%b %d, %Y`]]<br />Read more</a></p>


    The chunk for image is under article folder if that make a difference...

    Thank you in advanced

    Magz
      • 17667
      • 108 Posts
      I do not think you should put another getResources call within a template chunk being called by getResources. It seems like your code in the template chunk should be something like:
      <p><img src="[[pthumb? &input=`[[*tv.image]]` &options=`&h=100&w=100&zc=2`]]" alt="[[+pagetitle]] photo" style="float:left; margin-right:20px;">
      <a href="[[~[[+id]]]]">[[+pagetitle]]- [[+publishedon:strtotime:date=`%b %d, %Y`]]<br />Read more</a></p>
        • 52128
        • 29 Posts
        Hi Luke,

        Thank you for getting back to me, for some reason. it still not working for me.

        Really appreciate for anyone who can help me

        Magz