Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sunil committed Oct 6, 2024
1 parent 7e1a69c commit ef461a2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions php/images/thumbnailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
$sProduct = cHeader::get(cSpaceUrlParams::PRODUCT, true);

try {
$aData = cCuriosityImages::getThumbBlobData($sSol, $sInstr, $sProduct);
cDebug::vardump($aData);
$sMime = $aData->m;
$sBlob = $aData->b;
$oData = cCuriosityImages::getThumbBlobData($sSol, $sInstr, $sProduct);
cDebug::vardump($oData);
$sMime = $oData->mime_type;
$sBlob = $oData->blob;
header("Content-Type: $sMime");
echo $sBlob;
} catch (Exception $e) {
Expand Down

0 comments on commit ef461a2

Please sign in to comment.