Skip to content

Image not found if in subfolder with space in | media #30

@Zmove

Description

@Zmove

To reproduce :

Create a folder with a space in media directory, for example my folder/dummy.jpg

In your template, try to resize the image : <img src="{{ 'my folder/dummy.jpg'|media|resize(500) }}" />

You will get the image not found image instead of the one you defined.

If you replace "my folder" with "my_folder", it works, the problem come from the space in the folder name.

But it needs to be handled by this module, you can't explain to non technical client that they can't use space in their folder name (whereas the media library alow it).

Best regards,

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