Replies: 1 comment 6 replies
-
The derivation URL doesn't have anything do with the direct file URL on the storage. It's just the URL to your app that will trigger processing and uploading, and in your case redirect to the processed file on the storage. Doesn't your derivation URL redirect to the expected location? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am currently using the new derivations endpoint with cloudflare r2. These are my settings:
When doing
image.derivation_url(:thumbnail)
, this is what I gethttps://assets.aitoolsfor.co/uploads/store/derivations/image/thumbnail/eyJpZCI6Ijk3NDUzMDMxOWNhY2FkYzcwYTk2YjlkZGY3YTE4MThmIiwic3RvcmFnZSI6InN0b3JlIn0?signature=ee8027a7002675edcfb345955a9211b39e80dfd415873db46597f50820fd8c3d
This is incorrect as on R2's interface, it's stored at
aitoolsfor-production/aitoolsfor-production/uploads/dev/974530319cacadc70a96b9ddf7a1818f/
The file is named
thumbnail-400-80.jpeg
How do i get the derivations_endpoint to redirect users to that instead?
The reason why I'm not generating a signed URL is because I want these images to be publicly accessible (so they can be indexed by Google and appear in images search)
Beta Was this translation helpful? Give feedback.
All reactions