/** * Returns the PHP function name for graphics output * @param string file format to use (gif|png|...|jpg) * @return string function name; preceeded with a dollar sign the corresponding function gets called */ function get_send_function_name($file) { return "image" . wpws_ImageUtils::get_type($file); }