This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

gergo85
gergo85

The system_files table is empty.

alxy
alxy

If you are refering to the MediaManager: It uses the file system or a cload storage (if set up).

gergo85
gergo85

I selected the image via Media finder and I saved the form. When I update the form, the Media finder field is empty. Is it bug or not?

Cpt.Meatball
Cpt.Meatball

+1 Got a fix for this yet?

edit:

I think the media finder stores a string to the path, instead of using the file system.

Last updated

gergo85
gergo85

I found the solution. Thank you for your response.

Cpt.Meatball
Cpt.Meatball

Would you care to share the solution? Sharing is Caring :D

chris.e.mcquilkin11830
chris.e.mcquilkin11830

i was hoping to look for a solution for this but i guess no one is sharing.

gergo85
gergo85

My solution:

$path = implode('/', array_slice(str_split($image->disk_name, 3), 0, 3));
$this['image'] = '<img src="/storage/app/uploads/public/'.$path.'/'.$image->disk_name.'" alt="'.$image->title.'">';

Last updated

1-8 of 8

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.