Unclassified NewsBoard Code Reference

UnbRescaleAvatar function

Rescale an avatar file to smaller dimensions

function UnbRescaleAvatar ($filename);

Parameters:

filename
(string) File to rescale, may be the temporary upload path (TODO: test this on Linux!)

Return value:

(bool) true: success
(string) error message

Implementation file: unb_lib/cp.inc.php, line 129

© 2006 Yves Goergen. Unclassified NewsBoard Homepage. Reference based on UNB unb.devel.20060128, dated 2006-01-28.