gallery working based on comments