How to access the images from cloudflare and store the query params passed while accessing the image to cloudflare



I need to do fetch call for the the image. While doing the fetch call, i will pass few query params along with it. I need to save the passed params in cloudflare and i need to return the image as response.

Does cloudflare support this? if so, could you point me to the respective tutorial.