'Called by gis.get_marker(), feature_resources & s3profile'

def as_dict(self):

    if self.image:
        marker = Storage(image=self.image, height=self.height, width=self.width)
    else:
        marker = None
    return marker
