About ImageMinSize

Add min width and height setting to image fields.

Category 1Admin Helpers
Admin helper modules are those that provide helpful tools, UI enhancements or optimizations to the admin panel (excluding Fieldtype or Inputfield modules).
Category 2Photo/Video/Audio
Modules that perform some function related to media such as photos and audio/video.
Release StateStable
Should be safe for use in production environments. *
Authorsoma
Module Version1.0.0
Class NameImageMinSize
Compatibility2.2, 2.3, 2.4
Date AddedJuly 19, 2013
Recommended ByNew recommendations may take up to 1 day to appear.

Instructions

This module's files should be placed in /site/modules/ImageMinSize/
How to install or uninstall modules

README

ImageMinSize Module

ImageMinSize module allows you to define a minimum width and height an image needs to have when uploading. This is same as the already existing maximum image size setting, just on the other end. You can set the max and min width and height setting to the same to restrict uploaded images to a specific size. If the requirements aren't met it will delete the image and show an error.

How to install:

  • Download the contents of this repository and put the folder renamed as "ImageMinSize" into your site/modules/ folder

  • Login to processwire and got to Modules page and click "Check for new modules". You should see a note that a new modules was found. Install the ImageMinSize module under "Image" section.

  • Done

  • You now have additional settings for minimum size on image fields.

Comments

No comments yet. Be the first to post!

Post a Comment

Your e-mail is kept confidential and not included with your comment. Website is optional.