0

I want to insert barcode image in PDF which is generated from URL

eg. http:\\example.com\barcode.php?barcode=12345

$pdf->drawImage() seem not working with URL.

Any Idea How we can insert images using URL?

0

You have to first get the contents of the remote image and than you can add them to the pdf. Read this article: http://www.andrew-kirkpatrick.com/2012/11/using-zend_pdf-with-remote-amazon-s3-urls-files/

1
  • It means only way is, save image to local sever... – Sandesh Feb 7 '14 at 10:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.