Fixed min(0.8*width, height) for main image