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.


Some context ;