Debugging for why images are being sent multiple times