More image optimisation and resizing