I am learning about texture based on http://www.khronos.org/webgl/wiki/WebGL ... ing_Images

I replaced test_texture.jpg with gorilla.jpg as shown below:
Code :
function init() {
    gl.clearColor(0., 0., .7, 1.);
    gl.viewport(0, 0, g_width, g_height);
//    g_texture = loadTexture("test_texture.jpg"); // original code. it works
    g_texture = loadTexture("gorilla.jpg"); // this texture does not show up

Both test_texture.jpg and gorilla.jpg have the same properties: 256x256 pixels, 72 dpi, bit depth: 24

Unfortunately, the gorilla.jpg does not show up.

What did I do wrong?

Thanks in advance for your help.