Skip to content

On-the-fly image manipulations in Relationship error #3766

Description

@ic360-com

I have the following On-the-fly Image Manipulations required, for Related Entries...

<a href="{pages:url_title_path="products"}" style="background-image:url({pages:product-thumb:file:resize:crop:webp quality="80" resize:width="480" crop:maintain_ratio="n" crop:width="480" crop:height="384"})">

...the images are being created okay, but it's causing this Warning when rendering...

Undefined array key "path:file"  
ee/ExpressionEngine/Addons/file/ft.file.php, line 786

If I remove the ":resize:crop:webp" part it works fine.

EE 7.3.12
PHP 8.1

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions