Skip to Main Content
Builder.io Ideas
Created by Guest
Created on Nov 25, 2022

Ability to fetch file/image metadata

If you are injecting a file (in my case, an image) into a custom component, all that seems to be available (via GraphQL) is the file URL.


It would be really useful to be able to access more file information, for example, natural width and height.


For comatibility, this could be added by a new GraphQL option, e.g. $includeFileMetadata

  • Attach files