Added the class to handle gallery image json responses