Thanks, that's it. Now should I translate it or should I replace text with some $value ? What should I replace the text with if I want the script to use phrases form language.php ?
diewell( "Your graphic is too wide!<br /><br />Please upload a smaller one." );