I suggest that rather than setting the SRC of an image and seeing if it errors, we asynchronously request a JSON object which tells the client whether the gating has finished or not. Once it's finished we can simply redirect the client to the new page, which saves messing about with trying to set up the old file's view with the new file's details.
I suggest that rather than setting the SRC of an image and seeing if it errors, we asynchronously request a JSON object which tells the client whether the gating has finished or not. Once it's finished we can simply redirect the client to the new page, which saves messing about with trying to set up the old file's view with the new file's details.