Skip to content

source.crop always true #13

@cvh-sitegeist

Description

@cvh-sitegeist

In media-components/Resources/Private/Components/Picture/Picture.html never uses fallback

<fc:picture.source
   ...
   crop="{f:if(condition: source.crop, then: source.crop, else: src.crop)}"
   ...
/>

This happens if use fc like in following example:

<fc:picture
    src="{originalImage: image, cropVariant: cropVariant, format: extension}"
    sources="{desktop: {originalImage: image, srcset: '400, 600, 800, 1000, 1200, 1400', sizes: '100vw', format: extension}}"
    ...
/>

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