change zoom only when images are present