Skip to content
Snippets Groups Projects
Forked from project / drupal
Source project has a limited visibility.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.

CONTENTS OF THIS FILE

  • Introduction
  • Installation

INTRODUCTION

This module modifies image form widgets to allow site builders to provide image dimensions restrictions.

INSTALLATION

The installation of this module is like other Drupal modules.

  1. Copy/upload the module to the modules directory of your Drupal installation.

  2. Enable the 'Size Restriction Image Widget' module in 'Extend'. (/admin/modules)

  3. Edit the form display settings for the media and put in your desired maximum and minimum image restrictions.

  4. Add an image and observe you users cannot upload images that do not meet the image size requirements.