I have been using barryvdh/laravel-dompdf for pdf generation. My problem is that I want to use different background images on different pages which I can't. One background image is displayed on all the pages.
<div id="watermark"><img src="{{ public_path('pdf-backgrounds/'. $settings->pdf_background_image) }}" height="100%" width="100%"></div>
Is there any solution to this?