We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How can you use
# Whitelist file extensions: def validate({file, scope}) do _ -> ~w(.jpg .jpeg .gif .png) |> Enum.member?(Path.extname(file.file_name)) end
When uploading via a remote URL?
for example: https://graph.facebook.com/10161619653110632/picture?type=square
The file info doesn't give me much to work with:
%Arc.File{binary: nil, file_name: "picture", path: "/var/folders/41/t37wy48124zdh1qwx76cz5y00000gn/T/OJIFYN6COCTZYYE7E4NHGU2E42KWZXCJ"}
Thanks
Dan
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment
1.8.1
{:arc, "~> 0.11.0"},
{:arc_ecto, "~> 0.11.1"},
osx
How can you use
When uploading via a remote URL?
for example: https://graph.facebook.com/10161619653110632/picture?type=square
The file info doesn't give me much to work with:
%Arc.File{binary: nil, file_name: "picture", path: "/var/folders/41/t37wy48124zdh1qwx76cz5y00000gn/T/OJIFYN6COCTZYYE7E4NHGU2E42KWZXCJ"}
Thanks
Dan
The text was updated successfully, but these errors were encountered: