Bug 1110158:  Intermittent test_gallery_handle_valid_image_file.py AssertionError

Using Wait instead of AssertTrue.  It now explicitly waits for the resolution change on height as well