Replacing the Existing Image

Learn how to allow the users to upload a different picture for a tour.

Adding a link to the picture on the edit form

Let’s take a look at the edit form for a tour that already has a picture. Go to http://APPLINK/list-tours, and find the tour for which you uploaded a picture. Now, click on the “Edit” button for this tour. There is no way to find out if you have already uploaded a picture by simply looking at the form:

Get hands-on with 1200+ tech skills courses.