Name

thumblink — build a link to a specific thumbnail of a set image or video thumbnail

Synopsis

use Wacs;
use Wacs::WacsUI;
scalar thumblink(...); 
 

Parameters

parameterdescription
setnoThe set number this thumbnail comes from
imgnoWhich image number to show
stypeThe set type (I,V, etc)
sizeThe size to show it at - std, mini, etc
silentSet this to no to print link before returning
linktoLink to a full frame version if required

Summary

The thumblink provides links to thumbnailed versions of member images of a set. For an image set, these are the scaled thumbnails of the images within the set itself, while for videos these are from any still thumbnails provided for the set. It will optionally add a link around the image to any full frame or scaled displayer application you wish to specify.

Availability

The thumblink function was introduced in Wacs 0.9.1 and is not available in previous releases. It is available in Perl and Php.