# BUG - enlarge image action not working with image from google drive

**URL:** <https://community.glideapps.com/t/bug-enlarge-image-action-not-working-with-image-from-google-drive/10562>\
**Category:** Report a Bug\
**Created:** [June 9, 2020, 5:45am UTC](https://community.glideapps.com/t/bug-enlarge-image-action-not-working-with-image-from-google-drive/10562 "2020-06-09T05:45:31Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![yinon\_raviv](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/yinon_raviv/32/1627_2.png) [@yinon\_raviv](https://community.glideapps.com/u/yinon_raviv)\
**Post date:** [June 9, 2020, 5:45am UTC](https://community.glideapps.com/t/bug-enlarge-image-action-not-working-with-image-from-google-drive/10562/1 "2020-06-09T05:45:31Z")

</div>

HI Glide team , @Mark

I have wierd behavior which I think might be a bug.

the enlarge image action is not showing the image when I use images from my drive but work correctly on images uploaded to glide directly.  
the images present in the app ok and only the enlarge not working.

see the below GIF, I’m showing the same image twice, the first one uses a link from my drive and you can see that it’s not enlarging, the second image was uploaded to glide and the enlarge is working correctly. this is the same image so it should work but not working.

**link from drive:**

https://drive.google.com/open?id=1OgMxaG2jc5as1Kg-zN-VdoyjvvOgg2BI

**link from glide:**

https://storage.googleapis.com/glide-prod.appspot.com/uploads-v2/yvk40JU7MZepCRjcVNn0/pub/iNcjMrZOoLB5RzmplwKh.png

 ![enlarge image bug](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/b/ba9a6a7d58bf526f617be5930578f58f6205935b.gif)

---

<div class="post-metadata">

**Author:** ![Krivo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/krivo/32/5363_2.png) [@Krivo](https://community.glideapps.com/u/Krivo)\
**Post date:** [June 9, 2020, 6:03am UTC](https://community.glideapps.com/t/bug-enlarge-image-action-not-working-with-image-from-google-drive/10562/2 "2020-06-09T06:03:40Z")

</div>

@yinon_raviv i also have image in google drive and that image is enlarged when clicking on it. It takes a couple of seconds though.  
I tried opening the same image a number of times And then the image only loads partly. Might be related to what you see. Surely a bug.

---

<div class="post-metadata">

**Author:** ![yinon\_raviv](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/yinon_raviv/32/1627_2.png) [@yinon\_raviv](https://community.glideapps.com/u/yinon_raviv)\
**Post date:** [June 9, 2020, 6:16am UTC](https://community.glideapps.com/t/bug-enlarge-image-action-not-working-with-image-from-google-drive/10562/3 "2020-06-09T06:16:01Z")

</div>

Even if I wait a minute it’s not loading.  
The image is presented in the app even if it’s a gif the weight a few mb but won’t enlarge even for images that weight few kb

---

<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:** [June 9, 2020, 11:32am UTC](https://community.glideapps.com/t/bug-enlarge-image-action-not-working-with-image-from-google-drive/10562/4 "2020-06-09T11:32:30Z")

</div>

Based on what I’ve read in the past in the forum, Google drive isn’t great for hosting images. Maybe Google’s anti abuse features are kicking in. Also, it could be cached image vs the direct link.

---

<div class="post-metadata">

**Author:** ![yinon\_raviv](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/yinon_raviv/32/1627_2.png) [@yinon\_raviv](https://community.glideapps.com/u/yinon_raviv)\
**Post date:** [June 9, 2020, 1:35pm UTC](https://community.glideapps.com/t/bug-enlarge-image-action-not-working-with-image-from-google-drive/10562/5 "2020-06-09T13:35:57Z")

</div>

What do you mean? It’s a new photo I just uploaded

---

<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:** [June 9, 2020, 1:55pm UTC](https://community.glideapps.com/t/bug-enlarge-image-action-not-working-with-image-from-google-drive/10562/6 "2020-06-09T13:55:39Z")

</div>

Just going off what I’ve read. Many have had issues with hosting images and video through Google drive and Glide had advised against it because things will not work periodically and Google drive is not designed to be an image resource host for websites.

Also it may be that the drive url is trying to open the image inside of Drive in the webview instead of just the image.

The only other thing I would try is to share it so you get the file/d in the url. The url you are using is not how I usually obtain a url from drive.

---

<div class="post-metadata">

**Author:** ![yinon\_raviv](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/yinon_raviv/32/1627_2.png) [@yinon\_raviv](https://community.glideapps.com/u/yinon_raviv)\
**Post date:** [June 9, 2020, 2:23pm UTC](https://community.glideapps.com/t/bug-enlarge-image-action-not-working-with-image-from-google-drive/10562/7 "2020-06-09T14:23:15Z")

</div>

I just do right click and get sharing link which is the recommended way.  
Will try another way and if not working I’ll move my images to Dropbox or cloudinary if no other choice.

Anyways, let’s see what @Mark will say on this

---

<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:** [June 9, 2020, 2:37pm UTC](https://community.glideapps.com/t/bug-enlarge-image-action-not-working-with-image-from-google-drive/10562/8 "2020-06-09T14:37:51Z")

</div>

I don’t know how you got your link in that format, but try this one. If it doesn’t work, then I have no idea.

`https://drive.google.com/file/d/1OgMxaG2jc5as1Kg-zN-VdoyjvvOgg2BI/view?usp=sharing`

I personally haven’t had issues with drive hosted images, but I have 2 users and only about 10 images that are drive hosted. If I ever have issues, I will follow most recommendations and upload through Glide instead.

---

<div class="post-metadata">

**Author:** ![Mark](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mark/32/125_2.png) [@Mark](https://community.glideapps.com/u/Mark)\
**Post date:** [June 9, 2020, 3:27pm UTC](https://community.glideapps.com/t/bug-enlarge-image-action-not-working-with-image-from-google-drive/10562/9 "2020-06-09T15:27:43Z")

</div>

We’ll fix this. Thank you for reporting!

---

<div class="post-metadata">

**Author:** ![yinon\_raviv](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/yinon_raviv/32/1627_2.png) [@yinon\_raviv](https://community.glideapps.com/u/yinon_raviv)\
**Post date:** [June 9, 2020, 3:52pm UTC](https://community.glideapps.com/t/bug-enlarge-image-action-not-working-with-image-from-google-drive/10562/10 "2020-06-09T15:52:42Z")

</div>

Tried this way as well, didn’t work…

---

<div class="post-metadata">

**Author:** ![yinon\_raviv](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/yinon_raviv/32/1627_2.png) [@yinon\_raviv](https://community.glideapps.com/u/yinon_raviv)\
**Post date:** [June 9, 2020, 3:52pm UTC](https://community.glideapps.com/t/bug-enlarge-image-action-not-working-with-image-from-google-drive/10562/11 "2020-06-09T15:52:57Z")

</div>

Thanks mark, pls let me know once fixed

---

<div class="post-metadata">

**Author:** ![garrison](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/garrison/32/22059_2.png) [@garrison](https://community.glideapps.com/u/garrison)\
**Post date:** [June 9, 2020, 4:10pm UTC](https://community.glideapps.com/t/bug-enlarge-image-action-not-working-with-image-from-google-drive/10562/12 "2020-06-09T16:10:26Z")

</div>

@Jeff_Hager: You’ve got me worried now! Where is there a reference to Glide’s advice against using Drive to host images?

Looking at their docs they actually recommend it:

[https://docs.glideapps.com/all/guides/quick-starts/intermediate-techniques/working-with-images#hosting](https://docs.glideapps.com/all/guides/quick-starts/intermediate-techniques/working-with-images#hosting)

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [June 9, 2020, 4:13pm UTC](https://community.glideapps.com/t/bug-enlarge-image-action-not-working-with-image-from-google-drive/10562/13 "2020-06-09T16:13:01Z")

</div>

You can have a read here.

> [@Anyone image not appearing from Google drive etc..?](https://community.glideapps.com/t/anyone-image-not-appearing-from-google-drive-etc/7353/28):
>
> Hello everyone. I just wanted to share an update. Our current theory (and please bear in mind this is a theory) is that the mass numbers of Glide users have triggered googles anti-bot lockouts for images for some people. As a member of the glide community: WOOOOOO GO GLIDE USERS. As an engineer on the glide team: Oh god what have we done? So there are some fixes we are working with upstream providers on, I cannot give you an exact time for when they will roll out, but this is a high priority …

---

<div class="post-metadata">

**Author:** ![garrison](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/garrison/32/22059_2.png) [@garrison](https://community.glideapps.com/u/garrison)\
**Post date:** [June 9, 2020, 4:23pm UTC](https://community.glideapps.com/t/bug-enlarge-image-action-not-working-with-image-from-google-drive/10562/14 "2020-06-09T16:23:23Z")

</div>

@ThinhDinh: Thanks, just read through but couldn’t see any advice against using Drive for images. In fact @Jason said he had a solution so I’m none-the-wiser.

It would be very annoying if we cannot effectively use images hosted in Drive since we’re paying Google for this service. I mean, it’s not exactly free is it?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [June 9, 2020, 4:31pm UTC](https://community.glideapps.com/t/bug-enlarge-image-action-not-working-with-image-from-google-drive/10562/15 "2020-06-09T16:31:45Z")

</div>

I think the method Jeff and Megann mentioned in that thread looks to do the trick if there’s ever a problem with Drive hosted images.

Personally I always use Imgur and have never found any problem with it.

---

<div class="post-metadata">

**Author:** ![garrison](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/garrison/32/22059_2.png) [@garrison](https://community.glideapps.com/u/garrison)\
**Post date:** [June 9, 2020, 4:48pm UTC](https://community.glideapps.com/t/bug-enlarge-image-action-not-working-with-image-from-google-drive/10562/16 "2020-06-09T16:48:53Z")

</div>

Our images seem to be working OK but we’ll keep a keen eye on this.

I’m reluctant to move them to a different service as keeping them in same Drive we have our Sheets makes a lot of sense workflow-wise.

---

<div class="post-metadata">

**Author:** ![yinon\_raviv](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/yinon_raviv/32/1627_2.png) [@yinon\_raviv](https://community.glideapps.com/u/yinon_raviv)\
**Post date:** [June 11, 2020, 2:23pm UTC](https://community.glideapps.com/t/bug-enlarge-image-action-not-working-with-image-from-google-drive/10562/17 "2020-06-11T14:23:47Z")

</div>

Hi Mark,

Any estimate on when this will be fixed?

Thanks!

---

<div class="post-metadata">

**Author:** ![Jason](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jason/32/14_2.png) [@Jason](https://community.glideapps.com/u/Jason)\
**Post date:** [June 11, 2020, 4:00pm UTC](https://community.glideapps.com/t/bug-enlarge-image-action-not-working-with-image-from-google-drive/10562/18 "2020-06-11T16:00:08Z")

</div>

We cannot fix the 403 errors google serves out sometimes to images. For tap to enlarge images I strongly suggest using a different image service which does not block images randomly when they feel its being accessed too frequently. Imgur is well respected in the area.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [June 11, 2020, 4:05pm UTC](https://community.glideapps.com/t/bug-enlarge-image-action-not-working-with-image-from-google-drive/10562/19 "2020-06-11T16:05:57Z")

</div>

Agree with Jason here. As I stated above, I have never had a problem with Imgur. I used it for a whole year for my news app.

Here’s a great extension that I usually use to upload images to Imgur, if it helps:

> **[Upload to Imgur](https://chrome.google.com/webstore/detail/upload-to-imgur/kedcacdiooafipfmpdgdjaaekkdnhibn)**
>
> When you right click an image, a context menu will appear allowing you to upload the image directly to imgur.

---

<div class="post-metadata">

**Author:** ![yinon\_raviv](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/yinon_raviv/32/1627_2.png) [@yinon\_raviv](https://community.glideapps.com/u/yinon_raviv)\
**Post date:** [June 11, 2020, 4:30pm UTC](https://community.glideapps.com/t/bug-enlarge-image-action-not-working-with-image-from-google-drive/10562/20 "2020-06-11T16:30:01Z")

</div>

Thanks @Jason,  
Just to be clear, is this glide official stand on this? If so I strongly recommend you add this to the documentation.

Also, same for videos in drive?

@JackVaughan , appreciate your view in this.

[Next page](https://community.glideapps.com/t/bug-enlarge-image-action-not-working-with-image-from-google-drive/10562.md?page=2)
