Issue in Image "src" bind in #each loop with base64 image source

  • Hi,

    I faced an issue with image "src" bind in #each loop. I'm using based64 string for image.

    Issue : image populate only for first page, Image didn't populate in other pages.
    Code :

     {{#each deceased}}
        {{#if 0}}
            <div style='page-break-before: always;'></div>        
      <div class="flex-container">
        <div class="align-center line-name">{{FirstName}}</div>
        <div class="align-center normal-text label-top-margin">{{PersonalIdentityNumber}}</div>
        <div class="align-center normal-text">{{CremationNumber}}</div>
        <div class="align-center small-text label-seperator">{{getFormatedDate DateofDeath DateFormat}}</div>
        <div class="align-center small-text">{{PlaceOfPopulation}}</div>
        <div class="align-center small-text">{{HomeParish}}</div>
        <div class="align-right">
        <div class="qrCode"><img src="{{DeceasedBase64StringQrCode}}" style="width:70px; height:70px" /></div>

  • Please share minimal playground demo.

Log in to reply

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.