xlsxAddImage base64 image



  • for a ChromePDF report, I can add a dynamic Base64 image using:

    <img class="logo" src="data:image/png;base64,{{image}}">
    

    However, for an xlsx report trying

    {{#xlsxAddImage "Client-logo" "sheet1.xml" 0 0 1 1}}
        {#image {{image}} @encoding=base64}
    {{/xlsxAddImage}}
    

    does not insert my image into the cell

    the problem was the #image... this works:

    { {{image}} @encoding=base64}


  • Hi Everyone, can we add image dynamically using JS and display on the excel file using .xlsx recipe?


Log in to reply
 

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