Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Specify $args passed as an array of optional elements, using the following:
<?php
/**
* Displays an image with a magnifier glass box.
*
* @param $image_path
* This is the filepath to the image to display.
* @param $args
* An array with optional arguments:
* 'magnify' => 4, // the zoom magnification scale. defaults to 4
* 'glass_size' => 125, // the size of the glass box, which will be a square to zoom. defaults to 125
* 'imagecache' => '', // the imagecache setting to use for the smaller image. if this is set, then $image_path
* // will be used for the image in the glass box only, and the imagecache'd version will be
* // used in the main page display.
* 'image' => '', // the image path of the larger image displayed in the glass when zooming.
* // if not specified, this defaults to $image_path. You don't need this when using imagecache.
* 'width' => NULL, // the display width of the smaller image -- if specified, forces a browser image scale
Toplist is a module that lets webmasters submit their links, have them approved and keep a link exchange that tracks website referrers, thereby giving more exposures to more-active websites.