Images in filefield and temporary file system

Created on 17 January 2025, 5 days ago

Problem/Motivation

Problem with images in filefield. I can attach and see the images, but not in the preview (system generated thumbnail) when File (Field) Paths settings is temporary://.

The image path is like: /system/temporary?file=filename.jpeg and it's not valide. My temp folder is /tmp with appropriated chmod (the image file and folders are actually created in this folder).

This issue affected also the images generated by the module Insert.

With the public:// or private:// everything works fine. But not with temporary://.

In the event log I see:
page not found: http://mysiteurl.com/system/temporary?file=styles%2Fcke_media_resize_med...

Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "" at FileDownloadController.php line 85

Steps to reproduce

Choice temporary:// in File System, File (Field) Paths.
Add the image in filefield type - image and look at miniature (auto-generated thumbnail).
I tried Apache and Openliteserver.

Any idea how to fix it?

🐛 Bug report
Status

Active

Version

11.1 🔥

Component

field system

Created by

🇨🇦Canada superfedya

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024