/[drupal]/contributions/modules/image_exact/README.txt
ViewVC logotype

Contents of /contributions/modules/image_exact/README.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Sun May 27 20:19:50 2007 UTC (2 years, 6 months ago) by joshk
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-5
Changes since 1.2: +0 -2 lines
File MIME type: text/plain
Updated for Drupal 5 thanks to Ber Kessles in http://drupal.org/node/105766. Thanks Ber!
1 // $Id: README.txt,v 1.1 2006/02/28 22:42:47 joshk Exp $
2
3 image_exact.module
4
5 ABOUT
6 I wrote this because it seemed that many sites had designs which called for precisely-sized image thumbnails and avatars, and I was tired of hacking at core modules to give people this functionality.
7
8 This module provides very basic utility of precisely-sizing thumbnails and avatars by cropping them equally from all sides until the correct aspect ratio is reached, and then scaling the image to size. It will do nothing if the image is too small (e.g. it won't "blow up" tiny images).
9
10 INSTALLATION:
11 This module requires that you have one of the image toolkits installed to work.
12
13 1) Put it in your modules dir
14 2) Turn in on in admin/modules
15 3) Hit up admin/settings/image_exact and configure as needed
16
17 Image thumbnail resizing is enabled by default. If you want to enable avatar-resizing, you need to set the avatar size the user settings page to DOUBLE the size you want to end up with. This is because the user module does its own resizing first, and we need to have enough room to still crop as needed.
18
19 I realize this is slightly inefficient, but the performance hit should be pretty small, and the functionality should be widely useful.
20
21 LICENSE
22 GPL, baby. Look it up.

  ViewVC Help
Powered by ViewVC 1.1.2