Unclassified NewsBoard Code Reference

UnbRescalePhoto function

Rescale a user photo file to smaller dimensions

function UnbRescalePhoto ($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 143

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