code: def _unpack_images(self, rdata):
          
          image = rdata.get('image')  # /page/mobile-sections-lead
          originalimage = rdata.get('originalimage')  # /page/summary
          thumbnail = rdata.get('thumbnail')  # /page/summary
  
          if image or originalimage or thumbnail:
              if 'image' not in self.data:
                  self.data['image'] = []
  
          def file_url(info):
              """
              put image source in url and set file key
              """
              if 'source' in info:
                  info['url'] = info['source']
                  info['file'] = info['source'].split('/')[-1]
                  del info['source']
              return info
  
          if image:
              img = {'kind': 'restbase-image'}
              img.update(image)
              self.data['image'].append(file_url(img))
  
          if originalimage:
              img = {'kind': 'restbase-original'}
              img.update(originalimage)
              self.data['image'].append(file_url(img))
  
          if thumbnail:
              img = {'kind': 'restbase-thumb'}
              img.update(thumbnail)
              self.data['image'].append(file_url(img))
docs: Set image data from RESTBase response