Set image dimensions to fix initial grid load