Chapter 4. Media Management
Almost every website needs some kind of media management support, ranging from allowing users to upload photos to handling automatic media encoding in different file formats. Drupal’s flexibility allows for managing media in a variety of ways, and for scaling from a one-person portfolio to millions of users uploading photos on a fan site.
This chapter introduces the following modules:
- Image (core)
Provides a field for uploading images, as well as the ability to establish “styles” of images such as thumbnails
- Media
Provides media management for Drupal: comes with a media browser and various tools that other modules can leverage and extend
- Media: YouTube
Extends the Media module to allow users to easily embed videos from YouTube
- WYSIWYG
Provides support for WYSIWYG (“What You See Is What You Get”) editors
If you would like to participate in the hands-on exercises in this chapter, install Drupal using the Chapter 4: Media installation profile from the book’s sample code. This will create the example website on your web server. The completed website will look as pictured in Figure 4-1 and at //media.usingdrupal.com. For more information on using the book’s sample code, see the Preface.
Note
To complete this chapter, you must have the Clean URLs feature working, and your version of PHP must have the GD library installed. See Troubleshooting Image Styles for more information.
Figure 4-1. Band Wagon website
Case Study
John and Lisa are both music lovers. They love listening ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access