Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images in PDF not showing at all, details provided in description #710

Open
alessiooli opened this issue Jul 17, 2024 · 0 comments
Open

Comments

@alessiooli
Copy link

alessiooli commented Jul 17, 2024

I'm able to output all the texts from the webpage in the PDF but no image is showing at all, even if I pass document.body to .from() method, to output the entire page.
What happens is that I get no image but I get a link in the same place where the image should be, so if I click on it, it opens the browser to the path of the image. The images are in .webp format and is outputted as follows:
<a id="brxe-lunvnm" class="brxe-image tag bricks-lightbox" href="http://localhost/******/wp-content/uploads/2024/03/image-title.webp" data-pswp-src="http://localhost/*****/wp-content/uploads/2024/03/image-title ![screenshot](https://github.com/user-attachments/assets/579869d9-f9d6-4bbb-9125-d3e8f554057e) .webp" data-pswp-width="1920" data-pswp-height="1280”> <img width="1024" height="683" src="http://localhost/****/wp-content/uploads/2024/03/image-title.webp" class="css-filter size-large" alt="Alt text" decoding="async" fetchpriority="high" data-type="string" sizes="(max-width: 1024px) 100vw, 1024px" srcset="http://localhost/*****/wp-content/uploads/2024/03/image-title.webp 1024w, http://localhost/****/wp-content/uploads/2024/03/image-title.webp 300w, http://localhost/*****/wp-content/uploads/2024/03/image-title.webp 768w, http://localhost/******/wp-content/uploads/2024/03/*******webp 1536w, http://localhost/******/wp-content/uploads/2024/03/image-title.webp 1920w"> </a>
screenshot

EDIT: tech specs: wordpress + bricks builder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant