InMotion Hosting Support Center
This is archived and no longer maintained. Any information contained in this article may be out of date.

While working with images in Drupal 7, there are many settings you can adjust to optimize and customize your site. One of these settings is to set a maximum size for uploading images. This is for when you may have a particular width and height range you want to work with. Setting this maximum size means that any users who upload images must ensure that the image is under the height and width that you specify. Modifying the maximum height and width for uploadable images in Drupal 7 is easily done within the admin dashboard. Below are the instructions on how to perform just that.

Modifying the maximum height and width for image uploads 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 Basic Pages row and click on the Manage Fields link.
  5. Find the Image row and then click on the Edit link to take you to the settings page.
  6. On the settings page, scroll down and find the Maximum Image Resolution setting. The defaults are blank, which means it allows unlimited size. To set the maximum range, simply enter your desired maximum range. In this example, we have set it for 500 width x 400 height. If a user uploads a site that is larger than the range, Drupal will simply scale it down until it fits within the max range specified.

  7. Click on the Save Settings button at the bottom of the page to save your max size settings.

Now both you and your users images will have the maximum allowable resoution (size) as determined by your new settings.

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

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

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!