I am trying to use fancybox to display images. My images are blobs inside a mysql db.
Here is the html/php I am using:
<a class="fancybox-buttons" data-fancybox-group="g1" href="data:image/jpeg;base64,<?php echo base64_encode($pic['screenshot']); ?>"><img src="data:image/jpeg;base64,<?php echo base64_encode($pic['screenshot']); ?>" width="150px" height="250px"/></a>
this works but I have this weird flickering ghost image problem when the page loads and when I move my mouse over the image.