Added API for gallery & media