# Black screen when try to enlarge image

**URL:** <https://community.glideapps.com/t/black-screen-when-try-to-enlarge-image/15687>\
**Category:** Report a Bug\
**Created:** [September 12, 2020, 11:43am UTC](https://community.glideapps.com/t/black-screen-when-try-to-enlarge-image/15687 "2020-09-12T11:43:12Z")\
**Posts on this page:** 1\
**Showing post:** 21

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [September 12, 2020, 9:27pm UTC](https://community.glideapps.com/t/black-screen-when-try-to-enlarge-image/15687/21 "2020-09-12T21:27:33Z")

</div>

I believe this is where I found the info:

> <https://stackoverflow.com/questions/2655972/how-can-i-display-a-pdf-document-into-a-webview>

I set up a template column like this:  
`https://docs.google.com/viewer?embedded=true&url={Document}`  
And then I have a replacement set up to replace `{Document}` with the url of the PDF.

I also have it set up to show images and website links, so right now I also have an If Then column set up to search for ‘.PDF’ in the url and if it has it, then I use the wrapped version of the URL. Otherwise I just use the URL in it’s original form.

Just a word of caution, I did read in the stackoverflow forum that google may impose bandwidth limits for non-google documents. I am only testing this myself and I only have a couple users, so I’m not too worried about running into any limits. I haven’t looked, but there may be other wrapping services out there that would do something similar.

---

_[View the full topic](https://community.glideapps.com/t/black-screen-when-try-to-enlarge-image/15687)._
