Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

I recently moved to S3 to DigitalOccean Spaces and everything seems to work perfectly, but i noticed my images are not working correctly, every other type of archive is working just fine. My image binary is not being shown in the browser. Does anyone have a hint(every other kind of file works just fine)?
This is my php code
{
require_login();
$db = new db();
$sql = "SELECT * FROM uploads WHERE id = {$id}";
if (!super()) $sql .= " AND empresa = " . session('empresa');
$file = $db->row($sql);
if (!$file || !session('empresa')) {
return json_encode(
[
'error' => true,
'message' => 'File not found or you do not have access to it.'
]
);
}
$content = Storage::read(
$file->empresa . '/' . $file->modulo . '/' . $file->nome_atual
);
header("Content-Type: {$file->ext}");
header('Content-Disposition: inline; filename="' . $file->nome . '"');
header('Cache-Control: private, max-age=0, must-revalidate');
header('Pragma: public');
header('Content-Transfer-Encoding: binary');
header('Accept-Ranges: bytes');
echo $content;
}```
SarkariResultht
KFSys
Arne van Hoorn
alexdo
4287c71658bd4ea39bef277d491b1c
4287c71658bd4ea39bef277d491b1c
Demanix
Demanix
devjk1
Jordan
LC Labs Sp. z o.o.
a0cd9be01b14447384f79073fc121f