Skip to content

Some images converted to webp format has response type "octet-stream" and are empty in browser #342

Open
@Aleksey203SkyUp

Description

@Aleksey203SkyUp

Some images converted to webp format has response type "octet-stream" and are empty in browser.

If copy link of image and put it into new tab everything is good.

The problem was resolved by removing raw:
header('Content-Length:'.$this->cache->fileSize($path));

In the
public function outputImage($path, array $params) file Server.php

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions