From: Vincent Vanwaelscappel Date: Fri, 27 Jun 2025 16:29:55 +0000 (+0200) Subject: wip #7620 @1 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=7cba613cf1e2bd2f8a00e66a89a1bf8e654653a1;p=fluidbook-toolbox.git wip #7620 @1 --- diff --git a/app/Models/FluidbookPublication.php b/app/Models/FluidbookPublication.php index 9357f67cb..59d53ad64 100644 --- a/app/Models/FluidbookPublication.php +++ b/app/Models/FluidbookPublication.php @@ -608,7 +608,7 @@ class FluidbookPublication extends ToolboxStatusModel public function getImageFormat() { - return $this->transparentPage ? 'png' : $this->imageFormat; + return ($this->transparentPage ? 'png' : $this->imageFormat) ?: 'jpg'; } public function protected_path($path, $forceRegion = null)