added support for gallery and images comments