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.
    structure
  3. From this next page, click on the Content Types link.
    content-types
  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.
    manage-fields
  5. Find the Image row and then click on the Edit link to take you to the settings page.
    image-edit
  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.
    image-default-sample
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve our Support Center:
Email Address
Optional, but our team may contact you for more information.
Like this Article?

Post a Comment

Name:
Email Address:
Comment:
Are you a bot?
Submit

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

Need more Help?

Search

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: support@InMotionHosting.com
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!