We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi there!
I'm using this package with laravel modules and the CSS and the external images are no longer working.
Everything works on my local environment as it should, but on the server, the style is no longer applied in the PDF.
This is how i am importing the CSS: {{ module_vite('build-eventpage', 'resources/assets/sass/app.scss') }}
and this is how i am using the images: <img src="https://images.domain.com/domain-logo-orange.svg" alt="logo" class="logo__image">
<img src="https://images.domain.com/domain-logo-orange.svg" alt="logo" class="logo__image">
It's weird because on my staging server the CSS is working but the images are not, and on the production nothing is working anymore.
Is there something that is blocking the images to be rendered and the CSS to be applied?
Thank you!
Production:
Staging:
Local:
The text was updated successfully, but these errors were encountered:
I have the same problem. I am not using the alt tag so my image is rendered like this:
Sorry, something went wrong.
Found the solution after enabling the warnings with $pdf->setWarnings(true); We need to set the following option 👍
$pdf->setWarnings(true);
$pdf->setOption(['isRemoteEnabled' => true]);
I'm embedding my images like this <img src="{{ public_path('resources/img/logo-big.jpg') }}" id="brand" alt="Logo" > CSS is very limited.
<img src="{{ public_path('resources/img/logo-big.jpg') }}" id="brand" alt="Logo" >
No branches or pull requests
Hi there!
I'm using this package with laravel modules and the CSS and the external images are no longer working.
Everything works on my local environment as it should, but on the server, the style is no longer applied in the PDF.
This is how i am importing the CSS:
{{ module_vite('build-eventpage', 'resources/assets/sass/app.scss') }}
and this is how i am using the images:
<img src="https://images.domain.com/domain-logo-orange.svg" alt="logo" class="logo__image">
It's weird because on my staging server the CSS is working but the images are not, and on the production nothing is working anymore.
Is there something that is blocking the images to be rendered and the CSS to be applied?
Thank you!
Production:
Staging:
Local:
The text was updated successfully, but these errors were encountered: