thumbnail finder for oscommerce multi image product gallery - php oop