We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38547
    • 98 Posts
    I have set up a image TV with a name of productBox
    In the manager the TV appears and an image can be added with no problem.
    In the front end I am using getpage and have referenced a chunk called ProductBox1
    When I load the page everything in the chunk outputs apart from the image.
    I am using this getpage call
    [[!getPage? 
    &parents=`4`
    &depth=`3`
    &tpl=`productBox1`
    &sortby=`pagetitle`
    &includeTVs=`1`
    &processTV=`1`
    &showHidden=`true`
    &limit=`2`
    &pageVarKey=`page`
    &element=`getResources`
    &elementClass=`modSnippet`
    &sortdir=`ASC`]]
    


    And the tpl called productBox1 is this
    <aside class="widget">
    		 <div class="widget-box">
    			<h3 class="widget-title">[[+pagetitle]] </h3>
    			<img src="[[+productBox]]"
    			
    </div><!-- END OF WIDGET BOX -->
    	</aside>

    I have also tried [[*productBox]] to output the image.

    Can anyone tell me what I have done wrong or if that looks like it should work please let me know.

    Many thanks

    Ian
    [ed. note: ianman last edited this post 13 years, 2 months ago.]
      • 3749
      • 24,544 Posts
      What do you see for the img src"" when you do view source on the page?

      What's the output type of your image TV?

        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 38547
        • 98 Posts
        Quote from: BobRay at Jul 27, 2013, 03:32 PM
        What do you see for the img src"" when you do view source on the page?

        What's the output type of your image TV?


        Yes sorry failed to mention that.
        The output on the page is this <img src=""

        Should I have set something on set up of the TV.

        The error log does not show any issues.

        Cheers

        Quick edit:


        The site is at this temp url its the boxes on the right of the page that are output by this chunk http://www.hythehillmotorcycles.co.uk.gridhosted.co.uk/

        I just cant see whats wrong

        Many thanks [ed. note: ianman last edited this post 13 years, 2 months ago.]
          • 38547
          • 98 Posts
          ok answer found here

          https://forums.modx.com/thread/14855/image-tv-in-chunk-not-displaying

          Somehow missed this post in my original search

          Cheers