# Incorrect files are loading?

**URL:** <https://community.glideapps.com/t/incorrect-files-are-loading/62311>\
**Category:** Ask for Help\
**Created:** [May 31, 2023, 10:42am UTC](https://community.glideapps.com/t/incorrect-files-are-loading/62311 "2023-05-31T10:42:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gary\_Willmott](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gary_willmott/32/837_2.png) [@Gary\_Willmott](https://community.glideapps.com/u/Gary_Willmott)\
**Post date:** [May 31, 2023, 10:42am UTC](https://community.glideapps.com/t/incorrect-files-are-loading/62311/1 "2023-05-31T10:42:41Z")

</div>

I am a little stuck / confused

I am dynamically creating thumbs from videos using Cloudinary, however they are showing up as blanks:

You will see in the ThumbCheck column they are listed there

 ![Screenshot 2023-05-31 at 12.35.57](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/f/6fa7a89391d14f450d378d76688b11cf7617608a.jpeg)

**This is the URLS in the ThumbCheck that are listed in Glide, that should be showing**

 ![](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/9/0978777c98dc6e340cef5da57e26bfac348a85e5.jpeg)  
 ![](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/e/3e4c24d215333d7e66897da7070da288d08672a5.jpeg)  
[https://res.cloudinary.com/surf-diaries/video/upload/glide\_storagelong/yna3guws4bpYoWANKTR1.jp](https://res.cloudinary.com/surf-diaries/video/upload/glide_storagelong/yna3guws4bpYoWANKTR1.jp)

However when I checked the browser they are loading the incorrect files?

 ![Screenshot 2023-05-31 at 12.40.04](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/1/21b31827ffcc69d24196821c826ef6f3ff434002.jpeg)

Here is the links on what the debugger is showing

[https://res.cloudinary.com/glide/image/fetch/f\_auto,w\_500,c\_limit/https%3A%2F%2Fres.cloudinary.com%2Fsurf-diaries%2Fvideo%2Fupload%2Fglide\_storagelong%2FUX9uFPFloSnsVcQh96GI.jpg](https://res.cloudinary.com/glide/image/fetch/f_auto,w_500,c_limit/https%3A%2F%2Fres.cloudinary.com%2Fsurf-diaries%2Fvideo%2Fupload%2Fglide_storagelong%2FUX9uFPFloSnsVcQh96GI.jpg)  
[https://res.cloudinary.com/glide/image/fetch/f\_auto,w\_500,c\_limit/https%3A%2F%2Fres.cloudinary.com%2Fsurf-diaries%2Fvideo%2Fupload%2Fglide\_storagelong%2FIfzsR6G6djJEojDuqRp0.jpg](https://res.cloudinary.com/glide/image/fetch/f_auto,w_500,c_limit/https%3A%2F%2Fres.cloudinary.com%2Fsurf-diaries%2Fvideo%2Fupload%2Fglide_storagelong%2FIfzsR6G6djJEojDuqRp0.jpg)  
 ![](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/c/0c09018ed2cab20230fea2c1b9a7e163b396925e.jpeg)  
Here is a link to the [Gallery Page](https://diary.surf/dl/g), you will see the top 3 aren’t loading?  
Can anyone advise or assist?

> **[Surf Diary](https://diary.surf/dl/g)**
>
> Find your wave

---

<div class="post-metadata">

**Author:** ![Gary\_Willmott](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gary_willmott/32/837_2.png) [@Gary\_Willmott](https://community.glideapps.com/u/Gary_Willmott)\
**Post date:** [May 31, 2023, 4:11pm UTC](https://community.glideapps.com/t/incorrect-files-are-loading/62311/2 "2023-05-31T16:11:30Z")

</div>

Can anyone assist?

Here is the basic flow:

1. Photographer uploads a large video: [Link](https://storage.googleapis.com/glide-prod.appspot.com/uploads-v2/3God6rWTkBPmTRnHgO0G/pub/yna3guws4bpYoWANKTR1.mp4)
2. Then the Surf Diary Platform (using Cloudinary) Watermarks the footage and makes a teaser video for the potential customer: [Link](https://res.cloudinary.com/surf-diaries/video/upload/e_preview:duration_20:max_seg_10:min_seg_dur_2/q_auto:low/co_rgb:FFFFFF55,l_text:roboto_550_normal_left:diary.surf/fl_layer_apply,g_center,x_50,y_5,c_scale,fl_relative,w_0.8/co_rgb:FFFFFF55,l_text:roboto_50_normal_up:%22this%20is%20a%20preview%22/fl_layer_apply,g_north,x_50,y_20,c_scale,fl_relative,w_0.2/glide_storagelong/yna3guws4bpYoWANKTR1.mp4)
3. Then the Surf Diary Platform (using Cloudinary) creates a thumbnail: [Link](https://res.cloudinary.com/surf-diaries/video/upload/glide_storagelong/yna3guws4bpYoWANKTR1.jpg)

What I don’t understand is that the Thumb link works fine as is, however when we have it loaded with the others, it’s not working? Hence the [Gallery](https://diary.surf/dl/g) page?

---

<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:** [May 31, 2023, 4:26pm UTC](https://community.glideapps.com/t/incorrect-files-are-loading/62311/3 "2023-05-31T16:26:21Z")

</div>

Seems to be loading for me. Maybe a cache issue???

 ![Screenshot_20230531-112401](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/c/cc7b0ec23777d76b9d120106febad1e9f5237664.jpeg)

---

<div class="post-metadata">

**Author:** ![Gary\_Willmott](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gary_willmott/32/837_2.png) [@Gary\_Willmott](https://community.glideapps.com/u/Gary_Willmott)\
**Post date:** [May 31, 2023, 7:04pm UTC](https://community.glideapps.com/t/incorrect-files-are-loading/62311/4 "2023-05-31T19:04:27Z")

</div>

Strange, it’s working now…? must have been a weird caching issue??

---

<div class="post-metadata">

**Author:** ![Gary\_Willmott](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gary_willmott/32/837_2.png) [@Gary\_Willmott](https://community.glideapps.com/u/Gary_Willmott)\
**Post date:** [June 1, 2023, 6:41am UTC](https://community.glideapps.com/t/incorrect-files-are-loading/62311/5 "2023-06-01T06:41:10Z")

</div>

Ahh no it’s still doing it again? Can you [see the blanks here](https://diary.surf/dl/g)

 ![Screenshot 2023-06-01 at 08.40.26](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/3/e384df6bddb15207c0d073d5ffbe87f865488be1.jpeg)

[This is the link it’s trying to open](https://res.cloudinary.com/glide/image/fetch/f_auto,w_500,c_limit/https%3A%2F%2Fres.cloudinary.com%2Fsurf-diaries%2Fvideo%2Fupload%2Fglide_storagelong%2FUX9uFPFloSnsVcQh96GI.jpg)

---

<div class="post-metadata">

**Author:** ![Gary\_Willmott](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gary_willmott/32/837_2.png) [@Gary\_Willmott](https://community.glideapps.com/u/Gary_Willmott)\
**Post date:** [June 1, 2023, 10:40am UTC](https://community.glideapps.com/t/incorrect-files-are-loading/62311/6 "2023-06-01T10:40:42Z")

</div>

Cloudinary support came back to me.

The file on your side is an `mp4` so the first action to upload the file to Cloudinary is to request the URL [https://res.cloudinary.com/surf-diaries/video/upload/glide\_storagelong/UX9uFPFloSnsVcQh96GI.mp4](https://res.cloudinary.com/surf-diaries/video/upload/glide_storagelong/UX9uFPFloSnsVcQh96GI.mp4) (note the extension) so we fetch the asset from your Google Storage before anything else. In your case, the first URL requested is [https://res.cloudinary.com/surf-diaries/video/upload/glide\_storagelong/UX9uFPFloSnsVcQh96GI.jpg](https://res.cloudinary.com/surf-diaries/video/upload/glide_storagelong/UX9uFPFloSnsVcQh96GI.jpg) (note the extension) so we will be looking for the wrong file due to the extension hence the error.

Actually, to overcome this, instead of using `jpg` at the end. Just use `f_jpg` in the middle: [https://res.cloudinary.com/surf-diaries/video/upload/f\_jpg/glide\_storagelong/UX9uFPFloSnsVcQh96GI.mp4](https://res.cloudinary.com/surf-diaries/video/upload/f_jpg/glide_storagelong/UX9uFPFloSnsVcQh96GI.mp4), it will ensure we are looking for the video and then convert it to a `jpg`.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [June 2, 2023, 10:40am UTC](https://community.glideapps.com/t/incorrect-files-are-loading/62311/7 "2023-06-02T10:40:51Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
