Incorrect files are loading?

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

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



https://res.cloudinary.com/surf-diaries/video/upload/glide_storagelong/yna3guws4bpYoWANKTR1.jp

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

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%2FIfzsR6G6djJEojDuqRp0.jpg

Here is a link to the Gallery Page, you will see the top 3 aren’t loading?
Can anyone advise or assist?

Can anyone assist?

Here is the basic flow:

  1. Photographer uploads a large video: Link
  2. Then the Surf Diary Platform (using Cloudinary) Watermarks the footage and makes a teaser video for the potential customer: Link
  3. Then the Surf Diary Platform (using Cloudinary) creates a thumbnail: Link

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 page?

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

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

2 Likes

Ahh no it’s still doing it again? Can you see the blanks here

This is the link it’s trying to open

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 (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 (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, it will ensure we are looking for the video and then convert it to a jpg.

3 Likes

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