Set image dimensions automatically