Welcome, Guest
Username: Password: Remember me

TOPIC: Can JDom render a base64 string?

Can JDom render a base64 string? 11 Mar 2018 03:08 #15506

  • vlemos
  • vlemos's Avatar
  • Online
  • Elite Member
  • Posts: 296
  • Thank you received: 41
  • Karma: 21
Hello Admin, is there a way to pass a base64 string to JDom and have it render the image? Thanks V
	<?php echo JDom::_('html.fly.file', array(
		'attrs' => array('fit','format:png'),
		'dataValue' => $row->image,
		'height' => 'auto',
		'indirect' => false,
		'width' => 64
	));?>

data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAACLVJREFUeNrEWQlMVFsSrRZsQVARwvhRtAExTuOCKBoF/Q7quA/jNkpiRIMRlxgzifoTo+MY0eiYjERH890yJuKGgn73ja8sEcx3RfS7IgiCCwrYKNDNcufUm9ek7Q0fW1dSea/fu31f1b21nKqrEkKQOT148IDskZOTExUWFlJJSQk9fPiQSktLpefu7u7e79+//1N+fv6g4uJi386dO1f07t07MzAwMK2+vr4oJCSEHj9+TF26dKF3797R/PnzqVu3boR3dr/n5+dn850zNZPatWtH7du3Jwgedvfu3Z+ePXsWYTAYOvO7oqIiwu9oKPFbUFDQnkGDBp1Vq9UGakFqlgLOzs5UW1vrnZmZuQ0ru4B3pn///qTVaqlnz578jl69etXp/v37Y8+cOTMWu/VoxIgRa6DIeVbcoQp06NCBKioq/E+cOJECcwkYPXo0bd++nQYPHmwxlk3k1KlTtHLlyv5Hjx49l5eXdzI0NDQaC1DdbAtQ+gf2GRZep9MFbNmy5SoLv3btWkpNTbUqvNHMZs2aJdn/woULKSsr629nz579BYp5uri4SGNUKpVNtkcqpU7MH8zNzdUsWbIk7c2bN5rdu3fTsmXLFC3C/v37KTY2lk0te9euXREajaZMr9fbHA//aZkdYBv/8uWLK1Y8kYVfsGCBYuGZFi1aRNg9evLkSfC6deuOffr0SfX161c2SatsV6YNGzZYPCwvL5cc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rZukJmVqZavNbL9W+Sr1lDAAkbJwjqZcDtjMjLpjdbLQtaZOavdhNsWCpjvjimTSTQxbfR+F9mS838CDABuiJxEgu2iQQAAAABJRU5ErkJggg==
The administrator has disabled public write access.
Time to create page: 0.104 seconds

Get Started