It looks like a problem with the PHP session. If you look in your browser developer tools, at the Network bit. Can you see if the same cookies are being sent with each request (the main page load, and when the images are loaded.)
Quiz
quiz images not working
This discussion has been locked so you can no longer reply to it.