(Ashan Fernando) When uploading an image to a server, it will take few seconds to minutes to complete, depending on the complexity of the server operation and server performance. This article focuses on immediately displaying the image using JavaScript while it is being uploaded to the server.