def get_api_representation(self, value, context=None): if value: return { 'name': value['name'], 'blurb': value['blurb'], 'icon': build_image_url(value['icon']), 'cta': value['cta'], 'url': value['url'], 'canadian': value['canadian'] }
def get_quote_image(self): return build_image_url(self.quote_image)
def get_article_image(self): return build_image_url(self.featured_image)
def get_ally_color_logo(self): return build_image_url(self.ally.logo_color)
def get_ally_logo(self): return build_image_url(self.ally.logo_bw)
def get_institution_logo(self): return build_image_url(self.logo)
def get_press_kit(self): return build_image_url(self.press_kit)
def get_expert_image(self): return build_image_url(self.image)
def get_team_member_image(self): return build_image_url(self.image)
def get_advisor_image(self): return build_image_url(self.image)
def get_news_logo(self): return build_image_url(self.logo)
def get_funder_logo(self): return build_image_url(self.logo)