This issue occurs in the following scenario:
- Any content type use field_image entity reference, if you try to edit the image and upload an image instead current, some views that use view modes uses this field will still retrieve the old image.
- Another case I think it's related to this issue:
When you go to /admin/content/media and try to update an image the thumbnail still shows the old image after the update.
--
After the fix;
It should look as follow for Varbase 8.5.x

It should look as follow for Varbase 8.4.x
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | varbase_media-85x-2980408-12.patch | 3.63 KB | rajab natshah |
| #11 | varbase_media-84x-2980408-11.patch | 28.54 KB | rajab natshah |
| #9 | Media-list-page-Varbase84xtest-.png | 162.83 KB | rajab natshah |
| #7 | Media--dev-varbase5c.png | 195.92 KB | rajab natshah |

Comments
Comment #2
rajab natshahHi Mahmoud,
Thank you for reporting this issue.
I think it's from
#1239558: Deleting an entity with revisions and file/image field does not release file usage of non-default revisions, causing files to linger
We will work to fix this issue in the Media (Media) content page view
Comment #3
rajab natshahComment #4
rajab natshahComment #5
rajab natshahComment #6
rajab natshahComment #7
rajab natshahComment #9
rajab natshahComment #11
rajab natshahPatch for Varbase Media 8.4.x
Comment #12
rajab natshahPatch for Varbase Media 8.5.x
Comment #13
rajab natshahComment #14
rajab natshahComment #15
rajab natshahComment #16
rajab natshahComment #18
rajab natshah