Not a developer? Go to MovableType.com

Plugin and Theme Directory

Asset Image Quality v1.2.2

By Dan Wolfgang
Posted December 12, 2013, in Assets, Files, Uploading.

Details

The Asset Image Quality plugin for Movable Type gives you the opportunity to control the file size of automatically generated JPEG image assets.

When resized image assets are used, you may notice that the file size is quite large — much larger than you’d expect it to be. This is because a very high-quality low-compression setting is used to generate a JPEG. The result is an image that looks great, but has an unnecessarily large file size.

This plugin provides the opportunity to control the compression applied to generated image assets, therefore creating something that still looks good but has an appropriate file size.

Installation

To install this plugin follow the instructions found here:

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

Configuration

Image quality is controlled at the system level. Select System Overview > Plugins and find the Asset Image Quality plugin. There you can define how the plugin works.

The default JPEG compression level (as set by ImageMagick and used by Movable Type) is 92 (on a scale of 1-100, where a bigger number is more quality and less compression). There are three options to configure for this plugin:

  • Large JPEG: specify a compression level for large images. Large images need less compression (more quality) to look good. A value of 80 will often halve the file size while still retaining excellent image quality.
  • Small JPEG: specify a compression level for small images. Thumbnails can often be compressed much more because they are so small and contain relatively little detail compared to their larger counterpart. You can probably use a value of roughly 2/3 what is used for the “large” selection and still create an acceptable image. For example, if you used “80” for the Large option, you can probably use roughly “50” for small.
  • Large/Small Threshold: Specify an image dimension as the size threshold for determining whether the large or small compression value is applied.

Save the settings and you’re done! Whenever a new image is generated (by inserting a thumbnail, or creating a new image with the AssetThumbnailURL tag, for example), the plugin will be invoked and create the image at the specified quality level.

Note that this does not affect older images, only new ones.

Requirements

  • ImageMagick must be used to generate images

Compatibility

Movable Type versions: 4.35.05.15.2

License

Perl Artistic


Back

8 Comments

baahubali

baahubali on March 27, 2017, 9:54 a.m. Reply

Image quality is controlled at the system level. Select System Overview > Plugins and find the Asset Image Quality plugin. There you can define how the plugin works. baahubali 2 movie review

Janet Craig

Janet Craig on May 24, 2017, 10:26 a.m. Reply

Where do you control the image quality? I thought that I could control the quality from inside the control panel? Do I have to edit a MT setting in the program’s source code? Could you tell me if the images are at the right quality set? You can check them on this page, I used the plug-in on the images there.

birikkiuch

birikkiuch on April 8, 2017, 10:52 a.m. Reply

An fascinating discussion is value comment. I think that it is best to write extra on this matter, it won’t be a taboo topic however generally people are not enough to talk on such topics.

chendler

chendler on April 11, 2017, 5:10 a.m. Reply

Great Post, I’m a large believer within posting comments upon sites in to allow blog site writers recognize that additional some thing valuable in to the internet! itsmydownload.com

Rustambek

Rustambek on April 13, 2017, 8:20 a.m. Reply

This article is simple to see without departing out any specifics and enjoy. Excellent work! You finished particular factors that were trusted there try this web-site . I discovered almost all individuals may accept your site and did a research about them. blogwheryoucandownload.com

akmalaka

akmalaka on April 25, 2017, 3:40 a.m. Reply

Blog gave us useful information to work. You have done an amazing job.downlodable music

twoandahalfmen

twoandahalfmen on May 4, 2017, 10:09 a.m. Reply

FEATURES:The characters on the sheet are displayed in the exact same colors as painted by your child. downlodable music From TrueSoft Entertainment: Welcome to Blitz Blok, TRUESoft Entertainment’s first game for the iPhone and iPod Touch.

binasa

binasa on July 3, 2017, 12:20 a.m. Reply

Complete overhaul to the UI for the iPhone to make Mosaic easier to use. download files This version provides various bug fixes for issues specific to iOS 8, as well as a few tweaks and improvements.

Leave a Comment

Dan Wolfgang

Dan is an engineering creative and uses his vast knowledge of the web to solve unique client problems with specialized solutions. Complex or straightforward, his focus is to find the most efficient, functional, elegant, and stable solutions for each project. 10 years in web engineering and 14 more in the print publishing industry give him a special insight to the needs, restrictions, and workflows of content publishers, both traditional and new media. Dan is an active Movable Type community member who has written and contributed to countless plugins including some of the most popular: More Custom Fields, Poll Position, and Asset Image Quality.

Website: http://uinnovations.com
Twitter: @danwolfgang