Pdf invoice with logo

  • Posts: 54
  • Thank you received: 0
7 years 5 months ago #271320

-- url of the page with the problem -- : localhost
-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7.2
-- PHP version -- : 7.0.13
-- Browser(s) name and version -- : firefox 53

Hi.
I tray add to pdf invoice my logo. For this purpose in the file plugins/hikashop/attachinvoice/attachinvoice/invoice.php I add the HTML tag of my logo image:

<img src="http://mywebsite.pl/.../..../... /logo.png" />
but it doesn't work (see att).
Is this method still right? If yes, where exactly in the file should I embed this html?

Attachments:
Last edit: 7 years 5 months ago by Wrosch.

Please Log in or Create an account to join the conversation.

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
7 years 5 months ago #271321

Hello,

You can't use URL for images ; you need to use absolute path.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: Wrosch

Please Log in or Create an account to join the conversation.

  • Posts: 54
  • Thank you received: 0
7 years 5 months ago #271410

Thanks,
With absolute path works good.

Please Log in or Create an account to join the conversation.

Time to create page: 0.060 seconds
Powered by Kunena Forum