We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 53321
    • 5 Posts
    Hello,

    I have a problem concerning getImageList. I created an overview page with 5 entries on each page. Each entry uses a TV for attaching images to the post. On the overview page the first image of a post needs to be displayd. For some posts it does but for other is doesn't. the templates are all set to the same value, so there's nog difference.

    This is the getImageList call:
      [[!getImageList?
        &tvname=`resourcealbum`
        &tpl=`resourceAlbumTpl`
        &where=`{"published":"1"}`
        &docid=`[[+id]]`
        &limit=`1`
        &pagetitle=`[[+pagetitle]]`
        &resid=`[[+id]]`
        &processTVs=`0`
      ]]


    Here is the chunk for the "resourceAlbumTpl":
    <div class="pict">
        <a href="[[~[[+property.docid]]]]"  rel="lightbox-groep">
    
            <img src="[[phpthumbof? &input=`/assets/resourceimages/[[+property.docid]]/[[+image]]` &options=`w=139&h=105&zc=1`]]" alt="[[+title]]"/>
        </a>
    </div>


    I hope you can help me.

    Kind regards Arjan
      • 4172
      • 5,888 Posts
      do you get anything without the &tpl-part?
      should be an array of items

      do you get anything without the &where - part?
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!