We will use the manage fields administrative page to add a Media field to our d7dev Recipe content type.
Open up our d7dev site in your favorite browser, click on the Structure link in the Admin toolbar, and then click on the Content types link.
Next, on the Content types administrative page, click on the manage fields link for our Recipe content type.
Now, enter
Media
as the label for the Add new field input type. Next to the field_ prefix label in the Name column, typemedia
, and select File from the Select a field type dropdown and Media file selector as the widget, and click the Save button. On the next screen, click on the Save field settings button.On the RECIPE SETTINGS page, enter
Associate
multimedia
files
with
the
recipe.
as the Help text, and then check the Upload, Library, and View Library checkboxes under the Enabled browser plugins section.Next, enter
jpg
andpng
as the Allowed file extensions for uploaded files...