Removed hard coded height and width
Now handles no image