def image(self, obj: Meem): return ahref(obj.url, htmlimg(obj.url, mw=600, mh=400))
def twitter_url(self, obj: TwitterMeem): return ahref('https://twitter.com/statuses/' + obj.post, 'See post', True)
def facebook_url(self, obj: FacebookMeem): return ahref('https://facebook.com/' + obj.post, 'See post', True)
def preview_url(self, obj: MemeTemplate): return ahref(obj.preview_url, 'Go', True)
def image(self, obj: MemeTemplate): return mark_safe( ahref(obj.image_url, htmlimg(obj.image_url, mw=600, mh=400)) + " " + ahref(obj.bgimage_url, htmlimg(obj.bgimage_url, mw=600, mh=400)))
def image(self, obj: MemeSourceImage): return ahref(obj.image_url, htmlimg(obj.image_url, mw=600, mh=400))