Problem when upload images with ecto

Hi for all, when i create my schema dont upload the images asociated to it whir arc library only i see the default image in the image definition…

defmodule ShopWeb.VariantImage do
  use Arc.Definition
  use Arc.Ecto.Definition

  @versions [:original, :thumb]
  @extension_whitelist ~w(.jpg .jpeg .gif .png)

  def __storage, do: Arc.Storage.Local

   def acl(:thumb, _), do: :public

  def validate({file, _}) do
    file_extension = file.file_name |> Path.extname |> String.downcase
    Enum.member?(@extension_whitelist, file_extension)
  end

  def transform(:thumb, _) do
    {:convert, "-thumbnail 300x300^ -gravity center -extent 100x100 -format png"}
  end

  def filename(version, _) do
    version
  end

  def storage_dir(_, {_file, variant}) do
    "uploads/variant_images/#{variant.id}"
  end

  def default_url(:thumb) do
    "/uploads/demo.jpg"
  end
end

in the schema i have this

 field :image, ShopWeb.VariantImage.Type

in changeset

 |> cast_attachments(attrs, ~w(), ~w(image))

Hi!

Could you please format your code snippets by putting them inside ```

```
some code
```

It would it easier for us to understand your problem better.

Sorry for that im newie in this forum, but i apreciated very much your help