Fix bug in imgonly parameter.
Use kirbytext for figcaption. Dont's display figcaption tag for imgonly flag.