GFX
ID
Example
1
Information
x
2
Close
3
Resize or Restore
4
Open Window
5
You can add your own graphics to be used as a label for custom buttons. You will
need Adobe Flash™ editor to add custom icons.
Using Templates in URL parameters
Starting from FSI version 3.2.3 you can use templates when defining URLs for
custom buttons. These templates will be replaced by FSI Viewer when the user
clicks a custom button. This way you can retrieve parameters from FSI Viewer
dynamically and pass the values to a JavaScript function or a server side script.
Templates in CustomButton URLs
<Plugin src="custombutton" buttons="btn1"
btn1.URL="javascript:alert
("$$cfg.FPXWidth$$
x
$$cfg.FPXHeight$$'')" />
The example above outputs the size of the source image via JavaScript.
12 Plug-in Reference
NeptuneLabs - FSI Viewer
388