Now removes images when database entries die