From the course: Advanced Express

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Serving images

Serving images

From the course: Advanced Express

Start my 1-month free trial

Serving images

- [Instructor] With this Image Handling functionality in place for this route, let's try out the form and create a user. So, I create a random user, tim@example.com. I now have to remember these credentials because I want to login with it later. Some password, and I will use some PNG picture to upload. Let's hit Submit. And next, I will login with this credentials. And we now see that up there on the top right, we see this broken image. This is because the template contains a logic to show a thumbnail if the user has a file pass for avatar set. Additionally, when I click now on this broken image, and go to my account. I see that we also have this image problem here because also here I want to show an avatar picture. So, what we have to do now is we have to implement the logic to surf those pictures. Let's head back into Visual Studio Code, and there, let's really click look at the templates, so that we better understand what we are doing. In Layout includes Header. We see that around…

Contents