InMotion Hosting Support Center

One of the many image settings you can use to tailor the look and feel of your site is that of size. You can set a maximum and minimum image size, in pixels, that can be uploaded y by you or your node creators when building your pages. This will help in not allowing images that are too large, or even too small, if you wish. Below are the instructions for setting this limitation for your images in Drupal 8.

How to set image size limits

  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. Once on the Content Types page, you select the content type you want to change the image settings for. In this case, we will work with the Article content type. Click on the Manage Fields option from the dropdown on the right side of the row.
  5. This is the Manage Fields page, where you see a list of all the fields for this Article content type. Find the Image row and click on the Edit link in the dropdown to the right.
  6. You have arrived on the Image Settings page. Scroll down the page until you locate the two fields involved, Maximum image resolution and Minimum image resolution. Here you can enter the sizes to limit the image uploads. In our instance, we are being very restrictive and forcing the image to be exactly 120x120. This would be indicative of using a logo where we want a uniform size.
  7. Once you have entered your size restrictions for either one or both fields, click on the Save Settings button. This will put your changes into effect.
Continued Education in Course 108: Managing Images in Drupal 8
You are viewing Section 4: Setting max and min upload sizes for images in Drupal 8
Section 3: Adjusting the image types allowed in Drupal 8
Section 5: Setting max file upload size in Drupal 8

Support Center Login

Social Media Login

Social Login Joomla

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

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!