Skip to content

Image field inside json field #32

Description

@nicsmyrn

I am trying to use an image field inside the json field but it seems is not working, any ideas?
here is my code:
Image::make('Image') ->path('entries/'.$this->model()->hash_id) ->acceptedTypes('image/*') ->storeAs(function ($request) { return $request->file('metadata->entries.image')->getClientOriginalName(); }) ->disk(config('filesystems.default')),

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions