2
sorry someone, i know this question has been unanswered for a few days, and it really is a simple request which a core team developer could easily have answered.
but your method is not secure and not the best method. please don't take this the wrong way.
by altering uploader class like this, you are not just affecting the image uploader, but you are affecting any other module and core function that uses the uploader class.
random file names are there for a security reason because if your script allows executable files etc, and the path becomes known and the file is not stored outside of webroot, the filename would be known because a user has uploaded it. he can then gain complete access to the server by uploading a malicious script and then calling it from his browser.
if you want the image manager to not use a random prefix, then edit the image manager file directly not the uploader class.
in htdocs/imagemanager.php
around line 217:
remove this line >
$uploader->setPrefix('img');
now that will let the uploader class not set random prefix for image files, but will still allow other modules to have random prefixes should they want to use the setPrefix() function.
regards
vaughan