This module is Drupal 7 version of "http://drupal.org/project/imagecache_scale9actions". This is an image style for drupal 7. This is based on scale 9 formatting. Scale-9 formatting lets you define 9 regions of an image overlay (or underlay) that will scale independently. The 9 regions are defined by giving left, top, right and bottom values. The left and right values being pixel offsets from the left edge of the image, and the top and bottom values being pixel offsets from the top of the image, resulting in a 3x3 grid. This is a standard method of UI skinning in Adobe Flash/Flex.
A simple example is the module image to the right. The same frame overlay image is placed 3 times in different sizes without any apparent distortion to the edge and corner areas.
This module only works with GD for the time being.
Dependencies: ImageCache Actions
Demonstration Page (Exhibits the Overlay (scale-9) and Random switcher actions.)
| Comment | File | Size | Author |
|---|---|---|---|
| Preview.png | 106.02 KB | er_gaurav_sharma |
Comments
Comment #1
er_gaurav_sharma commented