images not showing
-
Hi,
I have been testing your plugin and have been unable to get the images working inside the created pdf files. both product and logo image is not working. Reading threw the support topics didn’t resolve this issue.
There is no cdn being used at all.
What i tried so far;
wpconfig.php
define( 'WC_CART_PDF_THUMBNAIL_COMPATIBILITY', true );
(nothing changes)cart-table.php
addedecho esc_html( $thumbnail )
to view the used data which shows below code in the generated pdf. (i masked the main domain name for privacy concerns)<img width="300" height="300" src="https://test.****.nl/wp-content/uploads/2021/11/170180-balken-300x300.jpg" class="attachment-woocommerce_thumbnail size-woocommerce_thumbnail" alt="" width="60" height="auto" srcset="https://test.*****.nl/wp-content/uploads/2021/11/170180-balken-300x300.jpg 300w, https://test.*****.nl/wp-content/uploads/2021/11/170180-balken-100x100.jpg 100w, https://test.*****.nl/wp-content/uploads/2021/11/170180-balken-150x150.jpg 150w" sizes="(max-width: 300px) 100vw, 300px" />
If u would like to view this on the staging site that should be possible after whitelisting an ip address.
Thanks in advance
The page I need help with: [log in to see the link]
- The topic ‘images not showing’ is closed to new replies.