Fixed session action for gallery