Loading different sized images

How in openGL is it possible to load up images of sizes not of the power 2 onto textures? If someone could link me to a tutorial or give me a hint how i’d appreciate it a lot.

Depending upon your drivers you can either use NPOT textures, Texture Rectangles, or pad the image to fit within power of 2.

http://www.nvidia.com/dev_content/nvopenglspecs/GL_ARB_texture_non_power_of_two.txt
http://www.opengl.org/registry/specs/ARB/texture_rectangle.txt

Some context ;
http://www.opengl.org/wiki/NPOT_Textures