Add code to extract resolution from Google API
Fix the way the ImgeDialog is created. It is now created only once
Change the image size retrieved from Google