added Gallery context  in handler.ashx