Split image field URL and display in PDF

Comments

2 comments

  • Rainer Grabowski

    Hi Luis,

    simply do:

    image1 = explode(",", EvidenceImage(Public URL))[0]
    image2 = explode(",", EvidenceImage(Public URL))[1]

    If you want to use array_slice() in PWA you must combine it with current():
    current(array_slice(explode(",", EvidenceImage(Public URL)),0))

    Rainer

    0
    Comment actions Permalink
  • Luis Castro

    Great.

    That worked perfectly.  

    Thanks

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk