Don't actually need to store this because $path is only needed for the isImage check, which is being stored in the session