futurewebs Posted May 12, 2015 Share Posted May 12, 2015 I need to add a single image to the invoice PDF, this image is currently stored in my img directory. It needs to be displayed on all invoices. I have used the following code in my invoice.tpl file: <img src="{$img_dir}m/5.jpg" /> But I get the following error: TCPDF ERROR: [image] Unable to get image: http://owlco.uk/img/m/5.jpg Can anyone offer any help? Link to comment Share on other sites More sharing options...
tuk66 Posted May 12, 2015 Share Posted May 12, 2015 The image is available in browser but not in TCPDF library. I would think about HTTP protocol or .htaccess/rewrite issue. Link to comment Share on other sites More sharing options...
Maheshmohan1093 Posted July 16, 2015 Share Posted July 16, 2015 yes, As per tuk66, it is available in the browser. What should be done for overcoming that? Any ideas please.. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now