thedevdojo / voyager

Voyager - The Missing Laravel Admin
https://voyager.devdojo.com
MIT License
11.78k stars 2.67k forks source link

Old image not deleted after updating image field #2264

Closed donmbelembe closed 3 years ago

donmbelembe commented 6 years ago

The question was asked previously and you say it will be solve in the new version for 1.* otherwise we should repost again.

old issue #1309

tr0yka commented 6 years ago

+1

charliepeck commented 5 years ago

This is an old post, but it doesn't seem like it's being addressed. I'm currently working on a project that Voyager is perfect for. The problem is that at the end of the day, I need to download the active images to a local machine for processing. It's a lot of extra work to determine which images in the directory should be downloaded. If anybody has a good work around for this, It would be greatly appreciated.

emptynick commented 5 years ago

This was addressed in https://github.com/the-control-group/voyager/pull/3240. It's gonna be included in 1.1.11 Edit: its not fixed in 1.1.11, I will take a look at it.

nemrutco commented 5 years ago

+1

AmirEdward commented 5 years ago

+1 a work around that may help you: in the model page make a boot method and inside make a listener for deleting/updating/creating events and in the closure you can delete the stored image the problem with me that i have multiple image upload field and i want to trigger a function on column update from the admin panel to delete only the photo that is removed from the column .. any idea how to do that ??

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.