Implemented gallery also for static pages