dompdf image not real image not readable or empty

后端 未结 4 1925
春和景丽
春和景丽 2021-01-29 04:20

i\'m having problems with dompdf, the images i insert wont read when converted to pdf file

when i load it to dompdf using

php method



        
4条回答
  •  故里飘歌
    2021-01-29 05:09

    I had the exact same problem, no images were displaying for me - background images and inline ones. I had to set DOMPDF_ENABLE_REMOTE to true in your config dompdf_config.inc.php

    Just note the security risk if you have this enabled along with DOMPDF_ENABLE_PHP

提交回复
热议问题