Symfony 2.1 with PHPPDF -
i trying include image (a jpg file) pdf being created using phppdf bundle of symfony 2.1.3.
i able create pdf's cannot them include images.
i using, inside twig template:
img src="{{ pdf_image('gimage.jpg') }}"
i have tried putting jpg in number of different places , tried number of different paths e.g. img src="{{ pdf_image('xx/xx/xx/gimage.jpg') }}"
nothing works. have tried path image without pdf_image
.
can help?
are using psliwa pdfbundle?
if says use..
<img src="{{ pdf_image('symfonywebconfiguratorbundle:blue-arrow.png') }}" />
which think linking to..
path/to/symfonywebconfiguratorbundle/resources/blue-arrow.png
Comments
Post a Comment