-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Files saved with double extension #39
Comments
This happens to me too. I lost the custom filename as a quick fix, but obvs that's not ideal. |
@joshuaswilcox
See: |
Ah - Thanks @davidkuhta. As I currently have it, the "filename" should not include the extension, because different versions of a file may have different extensions. (i.e. you may want the original If you have any suggestions on how to make that more clear I'm all 👂 |
Hi @stavro Particularly Local Configuration and File Names that show: So my thought would be to either:
Option 2. would mean you could do things like: Note: I chose Anyhow, let me know if either fits your vision for arc/arc_ecto and I'll be happy to send over a PR. |
when using a custom filename that include the actual name of the uploaded file, the extension is duplicated. Here is my code:
which results in images named
thumb_IMG_055.jpg.jpg
. I know I canString.replace(file.file_name, ".jpg", "")
but that seems hackyThe text was updated successfully, but these errors were encountered: