by
Lessons:13Length:1.7 hours

3.4 Creating Working Image Upload Fields

When dealing with image upload fields, we have two options. The first one is to use an input with the type file and write all the upload-related PHP ourselves.

Alternatively, we could use the new fancy image uploader from WordPress that allows us not only to upload an image, but also to select one from the media library.

Let’s go with the second option!