# 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:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![TeamDigitale](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/teamdigitale/32/13473_2.png) [@TeamDigitale](https://community.glideapps.com/u/TeamDigitale)\
**Post date:** [September 12, 2020, 11:43am UTC](https://community.glideapps.com/t/black-screen-when-try-to-enlarge-image/15687/1 "2020-09-12T11:43:12Z")

</div>

My app’s URL: [https://campusdavinci.glideapp.io/](https://campusdavinci.glideapp.io/)  
When i try to enlarge an image (after setting this behaviour in image component) i get a black screen every time.  
The image are showed correctly in thumbnail and in standard view but become all black when zoomed.  
Try to go to my app than to tab “Percorsi” than click to first button “Trova il percorso in base alla classe” anf than click on 1st item in list.  
The image is showed correctly but when click for zoom all become black.  
Thanks for the support

---

<div class="post-metadata">

**Author:** ![V88](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/v88/32/90054_2.png) [@V88](https://community.glideapps.com/u/V88)\
**Post date:** [September 12, 2020, 11:58am UTC](https://community.glideapps.com/t/black-screen-when-try-to-enlarge-image/15687/2 "2020-09-12T11:58:17Z")

</div>

Same in my app

---

<div class="post-metadata">

**Author:** ![Deena](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/deena/32/9877_2.png) [@Deena](https://community.glideapps.com/u/Deena)\
**Post date:** [September 12, 2020, 11:59am UTC](https://community.glideapps.com/t/black-screen-when-try-to-enlarge-image/15687/3 "2020-09-12T11:59:07Z")

</div>

My enlarge image is working, so must be affecting only certain apps.

---

<div class="post-metadata">

**Author:** ![TeamDigitale](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/teamdigitale/32/13473_2.png) [@TeamDigitale](https://community.glideapps.com/u/TeamDigitale)\
**Post date:** [September 12, 2020, 12:52pm UTC](https://community.glideapps.com/t/black-screen-when-try-to-enlarge-image/15687/4 "2020-09-12T12:52:24Z")

</div>

Hi, thanks for the response, could it be a format problem ?  
I used PNG, in your app which kind of image’s file did you use ?

---

<div class="post-metadata">

**Author:** ![Deena](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/deena/32/9877_2.png) [@Deena](https://community.glideapps.com/u/Deena)\
**Post date:** [September 12, 2020, 12:56pm UTC](https://community.glideapps.com/t/black-screen-when-try-to-enlarge-image/15687/5 "2020-09-12T12:56:30Z")

</div>

All PNG as well.

@JackVaughan do you know why there are a bunch of strikethroughs on things in the Glide Library? I wanted to share the image documentation regarding accepted file formats here but I see it’s struck out…have been seeing this throughout the library:

 ![Screen Shot 2020-09-12 at 8.59.41 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/f/f6073b703f833bc21f950673e1369af8a5b506b3.jpeg)

---

<div class="post-metadata">

**Author:** ![TeamDigitale](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/teamdigitale/32/13473_2.png) [@TeamDigitale](https://community.glideapps.com/u/TeamDigitale)\
**Post date:** [September 12, 2020, 1:25pm UTC](https://community.glideapps.com/t/black-screen-when-try-to-enlarge-image/15687/6 "2020-09-12T13:25:52Z")

</div>

Could be a HTTPS issue ?  
My images are stored in a website who don’t have a certificate and an https url.

---

<div class="post-metadata">

**Author:** ![Deena](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/deena/32/9877_2.png) [@Deena](https://community.glideapps.com/u/Deena)\
**Post date:** [September 12, 2020, 1:28pm UTC](https://community.glideapps.com/t/black-screen-when-try-to-enlarge-image/15687/7 "2020-09-12T13:28:59Z")

</div>

If HTTPS issue, I don’t think I would see the image at all? I can see it in the list and on the details page, so enlarging it shouldn’t block it from being rendered…

---

<div class="post-metadata">

**Author:** ![TeamDigitale](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/teamdigitale/32/13473_2.png) [@TeamDigitale](https://community.glideapps.com/u/TeamDigitale)\
**Post date:** [September 12, 2020, 1:39pm UTC](https://community.glideapps.com/t/black-screen-when-try-to-enlarge-image/15687/8 "2020-09-12T13:39:03Z")

</div>

Shoud i open a support ticket anywhere ?  
or this topic can be considered a ticket ?  
Thanks again

---

<div class="post-metadata">

**Author:** ![Deena](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/deena/32/9877_2.png) [@Deena](https://community.glideapps.com/u/Deena)\
**Post date:** [September 12, 2020, 1:41pm UTC](https://community.glideapps.com/t/black-screen-when-try-to-enlarge-image/15687/9 "2020-09-12T13:41:25Z")

</div>

One more question, did you try any other images? Because I noticed that’s the only one in your app and it’s not the same as the thumbnail image?

My rule of thumb…if it isn’t urgent for me to resolve for my app, I wait here but if you need it resolved and it really looks like a bug (based on the fact that you and @V88 both have issue), then you can email [support@glideapps.com](mailto:support@glideapps.com). Please make sure you don’t capitalize the S in support as it won’t go through. 🙃

---

<div class="post-metadata">

**Author:** ![TeamDigitale](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/teamdigitale/32/13473_2.png) [@TeamDigitale](https://community.glideapps.com/u/TeamDigitale)\
**Post date:** [September 12, 2020, 1:44pm UTC](https://community.glideapps.com/t/black-screen-when-try-to-enlarge-image/15687/10 "2020-09-12T13:44:58Z")

</div>

yes i had tried with 2 or 3 images, if you go to Hamburger menu in the app and select “Orario Docenti” you will go to another image showed correctly in details but blank when zoomed.  
i’ll try to do some others test and in case i’ll write to support  
Thanks for the replies

---

<div class="post-metadata">

**Author:** ![Deena](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/deena/32/9877_2.png) [@Deena](https://community.glideapps.com/u/Deena)\
**Post date:** [September 12, 2020, 1:45pm UTC](https://community.glideapps.com/t/black-screen-when-try-to-enlarge-image/15687/11 "2020-09-12T13:45:58Z")

</div>

Yes, it sounds like a bug! Good luck, I hope it gets resolved soon!

---

<div class="post-metadata">

**Author:** ![juraj](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/juraj/32/13476_2.png) [@juraj](https://community.glideapps.com/u/juraj)\
**Post date:** [September 12, 2020, 2:19pm UTC](https://community.glideapps.com/t/black-screen-when-try-to-enlarge-image/15687/12 "2020-09-12T14:19:07Z")

</div>

I had the exact same issue. and it was due to wrong certificate when using HTTPS.

---

<div class="post-metadata">

**Author:** ![JackVaughan](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jackvaughan/32/49023_2.png) [@JackVaughan](https://community.glideapps.com/u/JackVaughan)\
**Post date:** [September 12, 2020, 2:37pm UTC](https://community.glideapps.com/t/black-screen-when-try-to-enlarge-image/15687/13 "2020-09-12T14:37:35Z")

</div>

@Deena thanks for the heads up. I changed some of the docs structure and thought I’d sorted these. I see what I did now.

Will fix 👍🏽

---

<div class="post-metadata">

**Author:** ![TeamDigitale](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/teamdigitale/32/13473_2.png) [@TeamDigitale](https://community.glideapps.com/u/TeamDigitale)\
**Post date:** [September 12, 2020, 3:42pm UTC](https://community.glideapps.com/t/black-screen-when-try-to-enlarge-image/15687/14 "2020-09-12T15:42:01Z")

</div>

I have tried to use an HTTPS site as repository for the files and all seems to works now.  
So, is this a bug or a feature ? @JackVaughan @Deena  
Thanks again

---

<div class="post-metadata">

**Author:** ![Deena](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/deena/32/9877_2.png) [@Deena](https://community.glideapps.com/u/Deena)\
**Post date:** [September 12, 2020, 3:44pm UTC](https://community.glideapps.com/t/black-screen-when-try-to-enlarge-image/15687/15 "2020-09-12T15:44:16Z")

</div>

I have had no problem with images myself - I store them all in Glide and follow their instructions regarding public urls, so not sure about your question. Good that you’ve sorted it! 😌

---

<div class="post-metadata">

**Author:** ![TeamDigitale](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/teamdigitale/32/13473_2.png) [@TeamDigitale](https://community.glideapps.com/u/TeamDigitale)\
**Post date:** [September 12, 2020, 3:47pm UTC](https://community.glideapps.com/t/black-screen-when-try-to-enlarge-image/15687/16 "2020-09-12T15:47:38Z")

</div>

It works on iPhone and on Desktop but in my Xiaomi Mi i still get the black image.  
And in my iPhone the image are showed in low resolution, and when i try to pitch-to-zoom is almost unreadable. 😢

---

<div class="post-metadata">

**Author:** ![Deena](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/deena/32/9877_2.png) [@Deena](https://community.glideapps.com/u/Deena)\
**Post date:** [September 12, 2020, 3:50pm UTC](https://community.glideapps.com/t/black-screen-when-try-to-enlarge-image/15687/17 "2020-09-12T15:50:19Z")

</div>

Usually when I read a post about images, they’re not being stored in Glide or they are not public urls. Not sure about the device issue…@Jeff_Hager, master of all things Glide…any thoughts?

---

<div class="post-metadata">

**Author:** ![david](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david/32/62831_2.png) [@david](https://community.glideapps.com/u/david)\
**Post date:** [September 12, 2020, 4:04pm UTC](https://community.glideapps.com/t/black-screen-when-try-to-enlarge-image/15687/18 "2020-09-12T16:04:25Z")

</div>

Phones are generally more secure than desktop computers. Phones block http links because they are not secure, and can be used by hackers to harm the computers that try to load http content.

---

<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, 4:24pm UTC](https://community.glideapps.com/t/black-screen-when-try-to-enlarge-image/15687/19 "2020-09-12T16:24:48Z")

</div>

👆🏻 What he said. Using https instead of http would have been my suggestion. Also maybe the ‘Open Web View’ action as an option, but I have issues with that going full zoom without the option to pinch zoom, so have used “Open Link” instead, which opens the image externally with full control to zoom. Works fine for me on android, but from what I’ve read, ‘Open Link’ isn’t as friendly with IOS devices. Haven’t tested it, so I don’t know.

Just another thought for viewing external content, but I’ve recently started playing with the web view component to display PDF’s in app. I actually have it set to wrap the PDF url inside a google docs viewer url to view an external pdf inside google docs inside a web view inside the app. Works quite well actually.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/8/8b744f1e5b59b68c21b4e4ade31e7524e648792f.jpeg)

---

<div class="post-metadata">

**Author:** ![V88](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/v88/32/90054_2.png) [@V88](https://community.glideapps.com/u/V88)\
**Post date:** [September 12, 2020, 7:27pm UTC](https://community.glideapps.com/t/black-screen-when-try-to-enlarge-image/15687/20 "2020-09-12T19:27:40Z")

</div>

@Jeff_Hager can you please confirm how you’re building the URL to “wrap the PDF url inside a google docs viewer url to view an external pdf inside google docs inside a web view inside the app” that would be really useful - thanks as always.

[Next page](https://community.glideapps.com/t/black-screen-when-try-to-enlarge-image/15687.md?page=2)
