InMotion Hosting Support Center

When you have specific content types such as Articles, Basic Pages, Blog Entries, etc. you may want to give some uniformity to specific types. Maybe you want to have all Articles include your logo as a default image. Drupal 7 has a setting that allows a default image that will appear automatically if another specific image is not set. Follow the instructions below to learn how to set a default image for specific content types in Drupal 7.

Setting default images for content in Drupal 7

  1. Log into the Drupal 7 admin dashboard.
  2. Using the top menu bar, locate and click on the Structure option.
  3. From this next page, click on the Content Types link.
  4. On the Content Types page, find the type of content you want to work with. As we have done so far, we will be working with Basic Pages. After locating your desired content type, click on the Manage Fields link for that content.
  5. Find the Image row and then click on the Edit link to take you to the settings page.
  6. Now that you are on the settings page, scroll down and find the Default Image setting. Click on the Browse button to select your image from your local computer and save it. Once selected, click on the Upload button. You will see the preview image in place of the Browse and Upload buttons once that occurs.
    image-default1 image-default2
  7. Click on the Save Settings button at the bottom of the page to save the default image setting. Now, any pages made with that content type will automatically have that image implemented by default. All existing pages of the same content type will also receive the default image. If you add a specific image, the default image will be replaced. Below is a sample of a Basic Page with no image defined. You can see the sunface.png image was set as the default.
Continued Education in Course 109: Working with Images in Drupal 7
You are viewing Section 10: How to set a default image for content types in Drupal 7
Section 9: How to create an image preview style in Drupal 7
Section 11: How to modify image preview style in Drupal 7

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!