Jump to content

Zahari M.

Members
  • Posts

    198
  • Joined

  • Last visited

Community Answers

  1. Zahari M.'s post in How do we exclude an image using tags? was marked as the answer   
    Ok guys... after digging around and finding something Adrian mentioned elsewhere, this works...
    $images = $page->images->find("tags!=exclude");
    One very important things to take note.
    This only seems to work when each image has a single tag. If an image has more then one tag, it will not work!
    Hope that helps!
    Thanks to SiNNut for the prompt help and of course Adrian!
    Cheers
  2. Zahari M.'s post in How to get the first image of a repeater from another page? was marked as the answer   
    Hey DaveP
    Thanks for chiming in. Much appreciated.
    After trying many permutations, in the end, it doesn't look like image->first() is usable with repeaters.
    And so by referring to the thread I linked to earlier, I adopted the loop and counter approach and that gets me my first image!
    Thanks again
    Cheers
×
×
  • Create New...