]> _ Git - fluidbook-toolbox.git/commitdiff
wip #7620 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 27 Jun 2025 16:29:55 +0000 (18:29 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 27 Jun 2025 16:29:55 +0000 (18:29 +0200)
app/Models/FluidbookPublication.php

index 9357f67cb3159febf88ed69f633d901f3993796f..59d53ad647835f9d0062af0802ae7c48d00c9974 100644 (file)
@@ -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)