When you work with the image fields for the different content types in Drupal 8, you have the ability to determine what image types you want to allow for upload. For instance, you can include the defaults of gif, png, jpeg, and jpg, you may expand to allow other types such as tiff, or even be more restrictive by removing any of the types you wish. Below is the guide on how to perform this within Drupal 8.

How to adjust the allowed image types

  1. Log into your Drupal 8 admin interface.
  2. First click on the Menu option from the top menu bar. Next click on the Structure option from the second drop down.
  3. This leads you to the Structure listing page. From here, click on the Content Types option.
  4. Now you can select the Content Type you want to work with and click on the Manage Fields link in the dropdown. For this example, we will be working with the Basic page.
  5. This leads you to the page for all the settings for the chosen content type. In this example we chose the Basic Page. Locate the Image label and then click on the Edit option from the dropdown.
  6. Once on the Image Settings page, locate the Allowed File Extensions and either add additional file types or remove any of the existing ones to fit your desired setup.
  7. Once you have altered the list of file types you want to allow for image uploads, click on the Save Settings button located in the lower left hand corner of the screen. This will activate the change and the new file type list will take effect.
Continued Education in Course 108: Managing Images in Drupal 8
You are viewing Section 3: Adjusting the image types allowed in Drupal 8
Section 2: Enabling the image field for content types in Drupal 8
Section 4: Setting max and min upload sizes for images in Drupal 8
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 this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

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?

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!