Skip to content

Subfolders created outside asset volume not supported #13

@andrewmenich

Description

@andrewmenich

If a subfolder is created from the Asset tab, images uploaded to that subfolder will not get parsed correctly by the plugin. Currently the plugin builds the asset key using the volume URL (with subfolders) and the filename.

It seems that changing this line to "key" => $volumeSubfolder ? $volumeSubfolder . "/" . $image->getPath() : $image->getPath(), would do the trick.

Happy to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions