Name

callframe — create a suitable URL for page based navigation of the specified set

Synopsis

use Wacs;
use Wacs::WacsStd;
scalar callframe(...); 
 

Parameters

parameterdescription
imgprefixwhich size prefix to use - mini, std, set etc - when calling wacsimg
setnoThe set number we're displaying
curimgWhat should be the current image number we're starting from
maximgHow many images there are in this set
modelsModels specified as name, "-", model number. Comma seperated if there's more than one. For example: Jane-231,Sara-78
pagemode

If this is 1, it copies the application stem argument allowing use of alternative menu configurations for embedded use of wacspage. See the configuration manual and example code in the Php Simple Skins for an explanation of how this works.

appstem

This is the configuration menu to use with pagemode above. For example, if set to simple, the resulting wacspage set pages created by the framer will provide menus taken from /etc/wacs.d/simple.cfg instead of /etc/wacs.d/menu.cfg

Summary

The callframe function returns a suitable URL for accessing the wacsframe single image framing application with the appropriate parameters to properly integrate it into the particular WACS environment from which it's called. The intended use of this function and it's interoperation with the standard wacs tools is really best understood by examining it in use by the Wacs-PHP simple skins. These show how this can be used to pass customization information between the various applications.

Availabilty

As a function directly related to the standard wacs tools, callframe is only available in perl.