/[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.2.1 - (hide annotations) (download)
Fri Mar 7 20:22:46 2008 UTC (20 months, 3 weeks ago) by joshk
Branch: DRUPAL-5
Changes since 1.3: +5 -5 lines
File MIME type: text/plain
Noting dependency on image module, suggesting imagecache
1 joshk 1.3.2.1 // $Id: README.txt,v 1.3 2007/05/27 20:19:50 joshk Exp $
2 joshk 1.1
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 joshk 1.3.2.1 This module requires that you have one of the image toolkits (e.g. GD) installed to work. It also intracts ONLY with image.module in handling images-as-content. For more options and other image-handling modules, check out imagecache.
12 joshk 1.1
13 joshk 1.3.2.1 1) Put it in your modules directory
14     2) Turn in on in admin/build/modules
15     3) Hit up admin/settings/image_exact and configure to the sizes you want
16 joshk 1.1
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