List files with dataview (non notes ie. images, pdf, etc.)

Hi, I like to make indexes at the root of each folders to list its content.

I usually do something like:

TABLE
FROM "Files"
SORT file.ctime desc

I’m trying to do that with my files folder so it can list its content. Its content isn’t notes but images, pdf, etc. It just won’t list anything at the moment. It seems like it only wants to list notes but not other files so my question is:

Is it possible to list non notes using dataview?

Thanks

By default a normal Dataview query will only focus on the markdown notes of your vault. If you want to look at other file types, you’ll need to switch to dataviewjs queries. I’ve not seen anything indicating that the normal query would extend into other file types, but you can find examples in this forum on how to use dataviewjs to make lists of other file types.