tijojoel Posted February 7, 2018 Share Posted February 7, 2018 (edited) Hi, I am not using prestashop logo image for the invoices. I added a separate image in header.tpl, so that image is coming in admin end but in customer end the image is not coming and I am getting error like :- TCPDF ERROR: [Image] Unable to get image: ../img/Swaminarayan%20Aksharpith%20Letterhead-Header(1).jpg. How to rectify this. Prestashop Version - 1.6.1.12 Edited February 7, 2018 by tijopromantia (see edit history) Link to comment Share on other sites More sharing options...
globosoftware.net Posted February 7, 2018 Share Posted February 7, 2018 Hi, I have faced the same problem when developing Prestashop custom invoice module. I have fixed by changing image address with full http or https address. Like this: http://yourdomain.com/img/new-logo-for-invoice.jpg Please try. Link to comment Share on other sites More sharing options...
tijojoel Posted February 8, 2018 Author Share Posted February 8, 2018 @globosoftware.net Thank you very much, that solves my problem too. I don't know why the relative path is not working for admin as well as client side. Link to comment Share on other sites More sharing options...
anuj.anuj555 Posted July 19, 2022 Share Posted July 19, 2022 For me I found that its like if in invoice url is https://domain.com/img/logo.jpg I just add image url http://domain.com/img/logo.jpg. Image show without s in https 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