fix picture dimensions