support for lychee galleries