

def data_for_src(self, file_id):
    'Return data for attribute src of img tag\n\n        In:\n            - ``file_id`` -- file identifier\n        Return:\n            - src attribute of image tag\n        '
    (data, metadata) = self.load(file_id, True)
    return ('data:image/gif;base64,%s' % data.encode('base64'))

dataset/ETHPy150Open Net-ng/kansha/kansha/services/assetsmanager.py AssetsManager.data_for_src/original