Changed models, image width/height information now processed by PIL

gets information about images correctly
Merge pull request #3 from AchintyaAshok/Achintya-Dev

Changed models, image width/height information now processed by PIL