centre image on preview