I’m coding a site on symfony, and I need help to generate a pdf and open in the browser when I click on a button. But it isn’t working and I really don’t know why It would be really kind of you if you could help me please Here is the code in myAccount.html.twig <a ..
I’m using dompdf to generate invoices from html template, every work perfectly and the invoices are saved in the database with absolute filepath and filename, when I access to public/invoices I found all my pdf file there, I want to make a link button to download or open in the browser the file. I create ..
When I put this link into my browser an image is downloaded: http://localost:8888/manager/images/download/526 When I am using the link on my page.html.twig Template like this: <img src=”http://localost:8888/manager/images/download/526″ alt=”image”/> Then I see an image. But if I use the same image link on my dompdf template I always get the message: image not found or type ..