You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using this code: use Illuminate\Support\Facades\View; $html = View::make('partials.ticket.pdf-view', compact('data'))->render(); Browsershot::html($html)->timeout(30000)->format('A4')->noSandbox()->save(storage_path('app/public').'/testing.pdf');
When the $html variable only renders text, the pdf is created & downloaded without issue. However, when $html renders has an image tag with a source pointing to my azure blob for an image, it breaks on the save.
Error message I'm getting, not the most descriptive: For some reason Chrome did not write a file at '/../../storage/app/public/testing.pdf'. Command ======= [] Output ======
Does anyone know how to render images from azure and get the pdf to download without issue?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello!
I'm using this code:
use Illuminate\Support\Facades\View;
$html = View::make('partials.ticket.pdf-view', compact('data'))->render();
Browsershot::html($html)->timeout(30000)->format('A4')->noSandbox()->save(storage_path('app/public').'/testing.pdf');
When the $html variable only renders text, the pdf is created & downloaded without issue. However, when $html renders has an image tag with a source pointing to my azure blob for an image, it breaks on the save.
Error message I'm getting, not the most descriptive:
For some reason Chrome did not write a file at '/../../storage/app/public/testing.pdf'. Command ======= [] Output ======
Does anyone know how to render images from azure and get the pdf to download without issue?
Beta Was this translation helpful? Give feedback.
All reactions