Fit resolution & update image resource.