[Skip to main content](#vessel-content)

#  Profile for hpbdesignCEO

##

[![hpbdesignCEO's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/77330-hpbdesignceo "View hpbdesignCEO's Profile")

**[ Offline](/forum/user/77330-hpbdesignceo)**

- **User Type:** User

- **Register Date:** 27 Jun 2023
- **Last login:** 3 weeks 6 days ago
- **Time Zone:**  UTC +0:00
- **Local Time:** 08:03

- **Posts:** 8
- **Profile views:** 57
- **Thank you received:** 1

- **Gender:** Unknown
- **Birthdate:** Unknown
- **Medals:**  Hikashop Business

- Posts

#  hpbdesignCEO's recent posts  (8 messages )

All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year     All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year

| <a id="forumtop"> </a> [  ](#forumbottom) | Subject | Replies / Views | Last Post | <a id="forumbottom"> </a> [   ](#forumtop) |
|---|---|---|---|---|
| [](/forum/32-content-creation/910539-pdf-invoice#372004) | [PDF invoice](/forum/32-content-creation/910539-pdf-invoice#372004 "-- HikaShop version -- : 6.4.1 -- Joomla version -- : 6.1 -- PHP version -- : 8.4 -- Browser(s) name and version -- : Edge Version 148.0.3967.70 -- Error-message(debug-mod must be tuned on) -- : No image in invoice.php / pdf  Hi team,  today I am trying to change the layout etc in invoice.pdf  But I cant get my image to show in the pdf.  Please can you let me know what I need to do?  I am using the invoice.php in: plugins/hikashop/attachinvoice/attachinvoice  My code:         Logo not found:      All I am getting is this colored square in the attached image file :(  Kind regards Hans Peter Betzler")         Category: [Content Creation](/forum/32-content-creation "If you want to know more about the different options of the product and category creation.")     Topic started 5 months 2 weeks ago, by [hpbdesignCEO](/forum/user/77330-hpbdesignceo "View hpbdesignCEO's Profile")       [Last Post](/forum/32-content-creation/910539-pdf-invoice#372005 "Hello,  Yes, base64 is safe. HTML2PDF has an explicit code path for &quot;data:&quot; image sources (it base64-decodes them internally before drawing), so this is a perfectly legitimate way around the file path issue.  For context on what you were seeing: the pinkish-gray square is the placeholder HTML2PDF draws when it cannot actually load an image. Our PDF plugin tries to make image loading reliable by detecting img src attributes that point at your site URL and rewriting them to the equivalent local filesystem path (so the library reads the file directly instead of going through HTTP). It also probes each image with getimagesize() and logs an &quot;Image not accessible&quot; warning to the HikaShop log when it fails. But that whole machinery only helps when the underlying file is actually readable by the PHP process; if it is not (file permissions, open&#95;basedir restriction, or anything else that blocks the read) the placeholder is the final result. Base64 sidesteps all of that because the bytes travel inside the HTML itself, no file lookup is needed at PDF time, so it works in environments where direct path access does not.  One bug to fix in your snippet: &quot;$mime = $logoInfo;&quot; assigns the whole array returned by getimagesize instead of the MIME type, which produces &quot;data:Array;base64,...&quot; in the src attribute. You want the &quot;mime&quot; index:  The rest is fine.") 5 months 2 weeks ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:2  Views:388 | [Last Post](/forum/32-content-creation/910539-pdf-invoice#372005 "Hello,  Yes, base64 is safe. HTML2PDF has an explicit code path for &quot;data:&quot; image sources (it base64-decodes them internally before drawing), so this is a perfectly legitimate way around the file path issue.  For context on what you were seeing: the pinkish-gray square is the placeholder HTML2PDF draws when it cannot actually load an image. Our PDF plugin tries to make image loading reliable by detecting img src attributes that point at your site URL and rewriting them to the equivalent local filesystem path (so the library reads the file directly instead of going through HTTP). It also probes each image with getimagesize() and logs an &quot;Image not accessible&quot; warning to the HikaShop log when it fails. But that whole machinery only helps when the underlying file is actually readable by the PHP process; if it is not (file permissions, open&#95;basedir restriction, or anything else that blocks the read) the placeholder is the final result. Base64 sidesteps all of that because the bytes travel inside the HTML itself, no file lookup is needed at PDF time, so it works in environments where direct path access does not.  One bug to fix in your snippet: &quot;$mime = $logoInfo;&quot; assigns the whole array returned by getimagesize instead of the MIME type, which produces &quot;data:Array;base64,...&quot; in the src attribute. You want the &quot;mime&quot; index:  The rest is fine.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      5 months 2 weeks ago |
| [](/forum/32-content-creation/910539-pdf-invoice#372000) | [PDF invoice](/forum/32-content-creation/910539-pdf-invoice#372000 "-- HikaShop version -- : 6.4.1 -- Joomla version -- : 6.1 -- PHP version -- : 8.4 -- Browser(s) name and version -- : Edge Version 148.0.3967.70 -- Error-message(debug-mod must be tuned on) -- : No image in invoice.php / pdf  Hi team,  today I am trying to change the layout etc in invoice.pdf  But I cant get my image to show in the pdf.  Please can you let me know what I need to do?  I am using the invoice.php in: plugins/hikashop/attachinvoice/attachinvoice  My code:         Logo not found:      All I am getting is this colored square in the attached image file :(  Kind regards Hans Peter Betzler")         Category: [Content Creation](/forum/32-content-creation "If you want to know more about the different options of the product and category creation.")     Topic started 5 months 2 weeks ago, by [hpbdesignCEO](/forum/user/77330-hpbdesignceo "View hpbdesignCEO's Profile")       [Last Post](/forum/32-content-creation/910539-pdf-invoice#372005 "Hello,  Yes, base64 is safe. HTML2PDF has an explicit code path for &quot;data:&quot; image sources (it base64-decodes them internally before drawing), so this is a perfectly legitimate way around the file path issue.  For context on what you were seeing: the pinkish-gray square is the placeholder HTML2PDF draws when it cannot actually load an image. Our PDF plugin tries to make image loading reliable by detecting img src attributes that point at your site URL and rewriting them to the equivalent local filesystem path (so the library reads the file directly instead of going through HTTP). It also probes each image with getimagesize() and logs an &quot;Image not accessible&quot; warning to the HikaShop log when it fails. But that whole machinery only helps when the underlying file is actually readable by the PHP process; if it is not (file permissions, open&#95;basedir restriction, or anything else that blocks the read) the placeholder is the final result. Base64 sidesteps all of that because the bytes travel inside the HTML itself, no file lookup is needed at PDF time, so it works in environments where direct path access does not.  One bug to fix in your snippet: &quot;$mime = $logoInfo;&quot; assigns the whole array returned by getimagesize instead of the MIME type, which produces &quot;data:Array;base64,...&quot; in the src attribute. You want the &quot;mime&quot; index:  The rest is fine.") 5 months 2 weeks ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:2  Views:388 | [Last Post](/forum/32-content-creation/910539-pdf-invoice#372005 "Hello,  Yes, base64 is safe. HTML2PDF has an explicit code path for &quot;data:&quot; image sources (it base64-decodes them internally before drawing), so this is a perfectly legitimate way around the file path issue.  For context on what you were seeing: the pinkish-gray square is the placeholder HTML2PDF draws when it cannot actually load an image. Our PDF plugin tries to make image loading reliable by detecting img src attributes that point at your site URL and rewriting them to the equivalent local filesystem path (so the library reads the file directly instead of going through HTTP). It also probes each image with getimagesize() and logs an &quot;Image not accessible&quot; warning to the HikaShop log when it fails. But that whole machinery only helps when the underlying file is actually readable by the PHP process; if it is not (file permissions, open&#95;basedir restriction, or anything else that blocks the read) the placeholder is the final result. Base64 sidesteps all of that because the bytes travel inside the HTML itself, no file lookup is needed at PDF time, so it works in environments where direct path access does not.  One bug to fix in your snippet: &quot;$mime = $logoInfo;&quot; assigns the whole array returned by getimagesize instead of the MIME type, which produces &quot;data:Array;base64,...&quot; in the src attribute. You want the &quot;mime&quot; index:  The rest is fine.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      5 months 2 weeks ago |
| [](/forum/35-orders-management/910500-credit-notes#371836) | [Credit notes](/forum/35-orders-management/910500-credit-notes#371836 "-- HikaShop version -- : 6.4.1 -- Joomla version -- : 6.0.3 -- PHP version -- : 8.4 -- Browser(s) name and version -- : Edge Version 147.0.3912.98  Hi, Please how can I get ordered numbers in the Factor X credit note all my credit notes display the same number. Are there any settings for this, or else please how can I get different letters and numbers on the credit notes? And we need the corresponding order number to show on the credit note please.  Kind regards Hans Peter Betzler")        Category: [Orders management](/forum/35-orders-management "You can ask here your questions about orders management")     Topic started 5 months 4 weeks ago, by [hpbdesignCEO](/forum/user/77330-hpbdesignceo "View hpbdesignCEO's Profile")       [Last Post](/forum/35-orders-management/910500-credit-notes#371843 "Hi,  I've published a new version of the plugin with a setting for the reset.  Regarding the logo, it's already in place in the plugin. You just have to configure a logo in the HikaShop configuration page and it will be used by the plugin.") 5 months 4 weeks ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:9  Views:396 | [Last Post](/forum/35-orders-management/910500-credit-notes#371843 "Hi,  I've published a new version of the plugin with a setting for the reset.  Regarding the logo, it's already in place in the plugin. You just have to configure a logo in the HikaShop configuration page and it will be used by the plugin.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      5 months 4 weeks ago |
| [](/forum/35-orders-management/910500-credit-notes#371825) | [Credit notes](/forum/35-orders-management/910500-credit-notes#371825 "-- HikaShop version -- : 6.4.1 -- Joomla version -- : 6.0.3 -- PHP version -- : 8.4 -- Browser(s) name and version -- : Edge Version 147.0.3912.98  Hi, Please how can I get ordered numbers in the Factor X credit note all my credit notes display the same number. Are there any settings for this, or else please how can I get different letters and numbers on the credit notes? And we need the corresponding order number to show on the credit note please.  Kind regards Hans Peter Betzler")        Category: [Orders management](/forum/35-orders-management "You can ask here your questions about orders management")     Topic started 5 months 4 weeks ago, by [hpbdesignCEO](/forum/user/77330-hpbdesignceo "View hpbdesignCEO's Profile")       [Last Post](/forum/35-orders-management/910500-credit-notes#371843 "Hi,  I've published a new version of the plugin with a setting for the reset.  Regarding the logo, it's already in place in the plugin. You just have to configure a logo in the HikaShop configuration page and it will be used by the plugin.") 5 months 4 weeks ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:9  Views:396 | [Last Post](/forum/35-orders-management/910500-credit-notes#371843 "Hi,  I've published a new version of the plugin with a setting for the reset.  Regarding the logo, it's already in place in the plugin. You just have to configure a logo in the HikaShop configuration page and it will be used by the plugin.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      5 months 4 weeks ago |
| [](/forum/35-orders-management/910500-credit-notes#371821) | [Credit notes](/forum/35-orders-management/910500-credit-notes#371821 "-- HikaShop version -- : 6.4.1 -- Joomla version -- : 6.0.3 -- PHP version -- : 8.4 -- Browser(s) name and version -- : Edge Version 147.0.3912.98  Hi, Please how can I get ordered numbers in the Factor X credit note all my credit notes display the same number. Are there any settings for this, or else please how can I get different letters and numbers on the credit notes? And we need the corresponding order number to show on the credit note please.  Kind regards Hans Peter Betzler")        Category: [Orders management](/forum/35-orders-management "You can ask here your questions about orders management")     Topic started 5 months 4 weeks ago, by [hpbdesignCEO](/forum/user/77330-hpbdesignceo "View hpbdesignCEO's Profile")       [Last Post](/forum/35-orders-management/910500-credit-notes#371843 "Hi,  I've published a new version of the plugin with a setting for the reset.  Regarding the logo, it's already in place in the plugin. You just have to configure a logo in the HikaShop configuration page and it will be used by the plugin.") 5 months 4 weeks ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:9  Views:396 | [Last Post](/forum/35-orders-management/910500-credit-notes#371843 "Hi,  I've published a new version of the plugin with a setting for the reset.  Regarding the logo, it's already in place in the plugin. You just have to configure a logo in the HikaShop configuration page and it will be used by the plugin.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      5 months 4 weeks ago |
| [](/forum/35-orders-management/910500-credit-notes#371820) | [Credit notes](/forum/35-orders-management/910500-credit-notes#371820 "-- HikaShop version -- : 6.4.1 -- Joomla version -- : 6.0.3 -- PHP version -- : 8.4 -- Browser(s) name and version -- : Edge Version 147.0.3912.98  Hi, Please how can I get ordered numbers in the Factor X credit note all my credit notes display the same number. Are there any settings for this, or else please how can I get different letters and numbers on the credit notes? And we need the corresponding order number to show on the credit note please.  Kind regards Hans Peter Betzler")        Category: [Orders management](/forum/35-orders-management "You can ask here your questions about orders management")     Topic started 5 months 4 weeks ago, by [hpbdesignCEO](/forum/user/77330-hpbdesignceo "View hpbdesignCEO's Profile")       [Last Post](/forum/35-orders-management/910500-credit-notes#371843 "Hi,  I've published a new version of the plugin with a setting for the reset.  Regarding the logo, it's already in place in the plugin. You just have to configure a logo in the HikaShop configuration page and it will be used by the plugin.") 5 months 4 weeks ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:9  Views:396 | [Last Post](/forum/35-orders-management/910500-credit-notes#371843 "Hi,  I've published a new version of the plugin with a setting for the reset.  Regarding the logo, it's already in place in the plugin. You just have to configure a logo in the HikaShop configuration page and it will be used by the plugin.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      5 months 4 weeks ago |
| [](/forum/35-orders-management/910500-credit-notes#371812) | [Credit notes](/forum/35-orders-management/910500-credit-notes#371812 "-- HikaShop version -- : 6.4.1 -- Joomla version -- : 6.0.3 -- PHP version -- : 8.4 -- Browser(s) name and version -- : Edge Version 147.0.3912.98  Hi, Please how can I get ordered numbers in the Factor X credit note all my credit notes display the same number. Are there any settings for this, or else please how can I get different letters and numbers on the credit notes? And we need the corresponding order number to show on the credit note please.  Kind regards Hans Peter Betzler")        Category: [Orders management](/forum/35-orders-management "You can ask here your questions about orders management")     Topic started 5 months 4 weeks ago, by [hpbdesignCEO](/forum/user/77330-hpbdesignceo "View hpbdesignCEO's Profile")       [Last Post](/forum/35-orders-management/910500-credit-notes#371843 "Hi,  I've published a new version of the plugin with a setting for the reset.  Regarding the logo, it's already in place in the plugin. You just have to configure a logo in the HikaShop configuration page and it will be used by the plugin.") 5 months 4 weeks ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:9  Views:396 | [Last Post](/forum/35-orders-management/910500-credit-notes#371843 "Hi,  I've published a new version of the plugin with a setting for the reset.  Regarding the logo, it's already in place in the plugin. You just have to configure a logo in the HikaShop configuration page and it will be used by the plugin.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      5 months 4 weeks ago |
| [](/forum/35-orders-management/910500-credit-notes#371802) | [Credit notes](/forum/35-orders-management/910500-credit-notes#371802 "-- HikaShop version -- : 6.4.1 -- Joomla version -- : 6.0.3 -- PHP version -- : 8.4 -- Browser(s) name and version -- : Edge Version 147.0.3912.98  Hi, Please how can I get ordered numbers in the Factor X credit note all my credit notes display the same number. Are there any settings for this, or else please how can I get different letters and numbers on the credit notes? And we need the corresponding order number to show on the credit note please.  Kind regards Hans Peter Betzler")        Category: [Orders management](/forum/35-orders-management "You can ask here your questions about orders management")     Topic started 5 months 4 weeks ago, by [hpbdesignCEO](/forum/user/77330-hpbdesignceo "View hpbdesignCEO's Profile")       [Last Post](/forum/35-orders-management/910500-credit-notes#371843 "Hi,  I've published a new version of the plugin with a setting for the reset.  Regarding the logo, it's already in place in the plugin. You just have to configure a logo in the HikaShop configuration page and it will be used by the plugin.") 5 months 4 weeks ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:9  Views:396 | [Last Post](/forum/35-orders-management/910500-credit-notes#371843 "Hi,  I've published a new version of the plugin with a setting for the reset.  Regarding the logo, it's already in place in the plugin. You just have to configure a logo in the HikaShop configuration page and it will be used by the plugin.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      5 months 4 weeks ago |

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.112 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
