How to export thumbnails in pdf

How to export thumbnails in pdf

had38had38 Posts: 1Questions: 1Answers: 0

I download image paths from my database display them on my website as thumbnails as part of a table. I'm using pdfHtml5 to export the results of filtering as pdf. However the thumbnails are not included in the generated pdf.

I have imported all the js listed in your documentation and here is my pdf call:
{extend: 'pdfHtml5', text: 'Save current page (pdf)',
// if you specify width, image will scale proportionally
image: 'data:image/jpeg;base64',
width: 150,
exportOptions: { modifier: {
page: 'current'}}}
I could not find any answer to this question on your FAQs or doc. Thanks in advance

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,598

    Hi @had38 ,

    This thread should help, it's asking the same thing.

    Cheers,

    Colin

This discussion has been closed.