autoload of image class