changed where and how the inventory images are used