Recently I needed to have a dynamically changing background image for a Drupal 7 theme I was working on. Allowing the user to change this background image directly from theme's settings page.
How to add a dynamic background image to a Drupal theme
- The first step is to add a file named 'theme-settings.php' to your theme.
- Next, we need to add our background image form.