You can use Google Drive to host images directly via an img
tag rather than trying to mess with an iframe
(which is bad practice). See:
http://stackoverflow.com/questions/15557392/how-do-i-display-images-from-google-drive-on-a-website
If you really want to use an iframe
, you will need to modify the HTMLPurifier library. See: