console logs queue length on front end whenever user submits image