Derivatives - how to name all versions with same name #671
Unanswered
kubatron117
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I couldn't find a way to name all derivative files with the same name. I would like to have the filename "d29e7e3f5659efd53b54dd0919eae2c7.jpg" and divide it into folders like "original/d29e7e3f5659efd53b54dd0919eae2c7.jpg," "large/d29e7e3f5659efd53b54dd0919eae2c7.jpg," etc.
How can I achieve this?
I tried using the "pretty_location" plugin, but I am unable to figure out how to name all the files the same way. I'm not sure if it's the best practice, but for my use case, I think it makes sense.
The main goal is to have a path something like this: "/#{year}/#{month}/#{derivative}/filename.ext" - "/2024/01/large/filename.ext."
I would be very happy to receive a response.
You are doing an awesome job. Thank you for that.
Beta Was this translation helpful? Give feedback.
All reactions