Skip to content

A Movable Type and Melody plugin that provides a way to enforce a max image or thumbnail width for uploaded images to prevent users from uploading photos too wide for a column.

Notifications You must be signed in to change notification settings

endevver/mt-plugin-maximagewidth

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Max Image Width plugin provides to basic pieces of functionality:

  • It improves the user interface provided to users for choosing the size of the thumbnail they want to use in a post upon uploading a new image.

  • It allows administrators to set and enforce a maximum image width for images that can be inserted.

The plugin was originally born out of a need of a blog network whose bloggers were consistently inserting images into a post, but were creating thumbnails that were too large for the given layout. As a result layouts could break, or a portion of the image was obscured by other page elements.

Prerequisites

  • Movable Type 5.x, 6.x
  • Movable Type 4.x compatibility with version 1.0.0.

Installation

To install this plugin follow the instructions found here:

http://tinyurl.com/easy-plugin-install

Configuration and Use

This plugin is configured at the website or blog level, at Tools > Plugins > Max Image Width, where the maximum image width can be specified. If this field is left blank then the thumbnail size is unrestricted.

When inserting an image asset, in the File Options popup, a slider will appear that can be dragged to the desired image size. Thumbnail proportions are maintained to create the proper thumbnail image.

License

This plugin is licensed under the same terms as Perl itself.

About

A Movable Type and Melody plugin that provides a way to enforce a max image or thumbnail width for uploaded images to prevent users from uploading photos too wide for a column.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Perl 100.0%