mime_type or ext, not type
This commit is contained in:
parent
8d978aa06a
commit
07959b1fc8
@ -52,8 +52,8 @@ class UploadS3 extends SimpleExtension {
|
||||
S3::ACL_PUBLIC_READ,
|
||||
array(),
|
||||
array(
|
||||
"Content-Type" => "image/" . $event->image->type,
|
||||
"Content-Disposition" => "inline; filename=image-" . $event->image->id . "." . $event->image->type,
|
||||
"Content-Type" => $event->image->get_mime_type(),
|
||||
"Content-Disposition" => "inline; filename=image-" . $event->image->id . "." . $event->image->ext,
|
||||
)
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user