Skip to content

Wrap Image Field $src in asset #75

@toddvalentine

Description

@toddvalentine

Can we wrap the $src below from Bkwld's Image field in the asset method so it plays nice with Laravel sub-directory installs? Bkwld\Decoy\Fields\Image::renderEditor()

        if ($src = Former::getValue($this->inputName('file'))) {
            $src = Croppa::url($src, 1050);
        }

Tried using the container to override and running into issues with private methods and instances being new'd up instead of being made from the container.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions