They say a picture is worth a thousand words. If that is the case, then audio must be worth a million, and video worth a billion. Luckily, WordPress provides users with great tools that allow you to quickly and easily attach different types of media directly to posts and, if desired, display that media in special ways directly in posts.
In this chapter, we're going to go over the different ways in which you can use media such as images, music, and video files in your theme. We'll look both at how to correctly display images for users based on WordPress conventions, and how to dig deeper and manipulate the display of media without user input.
You should know that if you are using the default Kubrick theme that it is not designed well for the display of videos or images within posts. We will be using the WordPress Classic theme, which is available with all new Wordpress downloads from http://wordpress.org/download/, for styling and displaying media in this chapter, but you can use...