What I've seen so far is that I have to create a document, embed the image and publish it, then I get a url that I can use to alter the image using the options from imgix. My question is.
Is it possible to access any image in my media library using this url without creating a document for each one? If so, how is the image reference generated? I see it is composed of an id and the name of the image.
Welcome to the Prismic community, and thanks for reaching out to us.
This image URL was generated after uploading images in the documents. It's impossible to access any image in my media library using this URL. I would like to understand your use case. Why do you want to access images with these URL's?
I am developing a mobile app and I'm interested in the resizing and compression capabilities that your service offers. I need the images to be dynamic because they are tied to the device resolution. That's why I'm asking if there's a way to get the urls to access the images directly.
Also, is there a way to upload images through an API?? I've read about the Import/Export tool but it doesn't match my use case.