all gallery dimensions are now set after the first image is loaded