Open slowprog opened 10 years ago
Hello,
_mbstrlen wrong defines the length of my pic when rendered temporary image (rote _thrace_media_image_rendertemporary). It looks like this:
But if change call of _mbstrlen and add 8bit:
// Thrace\MediaBundle\Controller\ImageController.php ... $response->headers->set('Accept-Ranges', 'bytes'); $response->headers->set('Content-Length', mb_strlen($content, '8bit')); $response->headers->set('Content-Type', $this->getMimeType($content)); ...
then it will be fine:
thanks. I will fix that.
Hello,
_mbstrlen wrong defines the length of my pic when rendered temporary image (rote _thrace_media_image_rendertemporary). It looks like this:
But if change call of _mbstrlen and add 8bit:
then it will be fine: