-
I use ` protected function getTableActions(): array ` to upload multiple image-files. It works fine and I can display images f.e. in blade-files. In DB I get: ["myfiles/img_car.JPG","myfiles/img_bike.JPG"] But, if I edit the same row again, I can not see the images? I always have to upload all images again?! |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 8 replies
-
Yup the images that are saved to the database will be filled into the form again. Must be something wrong on your end. Can you send a screenshot of what happens when you load the images in? Any console errors in the browser? |
Beta Was this translation helpful? Give feedback.
-
Maybe it's due to that images are not stored in public-folder ?! |
Beta Was this translation helpful? Give feedback.
-
Yes, they are saved in database. And in my model I have |
Beta Was this translation helpful? Give feedback.
-
Hi guys, I have 2 tables:
I want to use original FileUpload component, meaning I will store my images into photos table.
`class Photo extends Model
]; |
Beta Was this translation helpful? Give feedback.
-
I do not understand your problem exactly. Could you describe it again? |
Beta Was this translation helpful? Give feedback.
Ok, I solved it. Made all new, cause I did not found the error!
Now, it works fine!
Thank you very much, Dan!