dreamseeker / mt-plugin-AutoThumbnail

画像アップロードの際にサムネイル画像を生成する Movable Type プラグインです。

Home Page:http://gabs.cc/blog/bun/topic20101022-1017.php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AutoThumbnail plugin for Movable Type

This is a plugin that automatically generates thumbnail images for Movable Type.

Requirements

  • Movable Type 6.2 or later

Installation

To install AutoThumbnail, follow these steps:

  1. Download & unzip the file
  2. place the mt-static/plugins/AutoThumbnail directory into your /path/to/mt/mt-static directory
  3. place the plugins/AutoThumbnail directory into your /path/to/mt/plugins directory

Notice:

After the update is necessary to re-setting of the suffix in the plug-in configuration of the system.

AutoThumbnail Overview

  • Generating a thumbnail image to upload the original image to the same directory
  • You can specify the suffix in the system of the plug-in settings
  • You can specify options of the thumbnail image in the blog plug-in settings

Setting Info

In the blog plug-in settings, you can specify the five items to raise then separated by commas.

Key Type Description Default
Resize criteria String Width or Height
Size Number Number of pixels
Conversion to square Number 1 or 0
If necessary a square thumbnail image, please set the 1.
JPEG Quality Number 0 - 100 If empty, and then set the ImageQualityJpeg.
PNG Quality Number 0 - 9 If empty, and then set the ImageQualityPng.

Setting an example

On the basis of the width to generate a thumbnail image of 400px. The quality of the images, JPEG is 75, PNG is 6.

Width,400,0,75,6

AutoThumbnail Changelog

0.2.0 -- 2016.05.23

  • Up to five generate a thumbnail image
  • Specify the quality of the thumbnail image

0.1.2 -- 2016.05.23

  • indent charactor converted
  • add README.md / LICENSE.txt

0.1.1 -- 2011.06.29

  • Initial release

Brought to you by Toru Kokubun

About

画像アップロードの際にサムネイル画像を生成する Movable Type プラグインです。

http://gabs.cc/blog/bun/topic20101022-1017.php

License:MIT License


Languages

Language:Perl 100.0%