add texture selection
bugfix: give opengl h and w from image size