- Posts: 2
- Thank you received: 0
border around pdf invoice image
- gjcwebdesign
- Topic Author
- Offline
- New Member
-
Less
More
9 years 1 month ago #94161
by gjcwebdesign
border around pdf invoice image was created by gjcwebdesign
Hi,
No matter what I do a black border is always produced around the invoice image
have tried:
1. different image and formats (jpg, gif etc)
2. the html code in other posts
e.g.
<td style="background: #fff !important;" align="right" valign="middle" width="50%"><img src="images/logo.jpg" alt="logo" style="border: 0px solid #fff !important;" border="1" /></td>
note the border="1" - if I change this to border="0" then the border is even thicker.. looks about 5 pixels
3. even in components\com_eventbooking\helper\helper.php if I do this
$try1 = '<img border="0" src="images/logo.jpg" alt="logo" style="border: 0px solid #fff !important;" />';
$pdf->writeHTML($try1, true, false, false, false, '');
I end up with an image with a 5px black solid border
have googled till my finger tips hurt
Any ideas?
Thanks
No matter what I do a black border is always produced around the invoice image
have tried:
1. different image and formats (jpg, gif etc)
2. the html code in other posts
e.g.
<td style="background: #fff !important;" align="right" valign="middle" width="50%"><img src="images/logo.jpg" alt="logo" style="border: 0px solid #fff !important;" border="1" /></td>
note the border="1" - if I change this to border="0" then the border is even thicker.. looks about 5 pixels
3. even in components\com_eventbooking\helper\helper.php if I do this
$try1 = '<img border="0" src="images/logo.jpg" alt="logo" style="border: 0px solid #fff !important;" />';
$pdf->writeHTML($try1, true, false, false, false, '');
I end up with an image with a 5px black solid border
have googled till my finger tips hurt
Any ideas?
Thanks
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
9 years 1 month ago #94175
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic border around pdf invoice image
According to my dev, change it to border:none; would solve the issue. Could you give it a try?
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- gjcwebdesign
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
9 years 1 month ago #94184
by gjcwebdesign
Replied by gjcwebdesign on topic border around pdf invoice image
Perfect .. thanks Tuan ..
used in the end:
<td style="background: #fff !important;" align="right" valign="middle" width="50%"><img src="images/logo.jpg" alt="logo" style="border: none !important;" border="0" /></td>
used in the end:
<td style="background: #fff !important;" align="right" valign="middle" width="50%"><img src="images/logo.jpg" alt="logo" style="border: none !important;" border="0" /></td>
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
9 years 1 month ago #94201
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic border around pdf invoice image
Great. Thanks for confirming
Regards,
Tuan
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2026 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.