Skip to content

:webp modifier outputs same image for files with same name but different extensions #4622

@shbchk

Description

@shbchk

When using the :webp modifier in a grid, files with the same name but different extensions (e.g., picture.jpg and picture.png) are processed into the same output image. Despite the images being different, ExpressionEngine renders them as identical when the :webp modifier is applied.

Steps to Reproduce:

  • Upload two different images with the same filename but different extensions (e.g., testpic.jpg and testpic.png) in a grid.
  • Apply the :webp modifier to both files.
  • Observe that the output is the same for both images.

Original pictures:

Screenshot 2024-11-28 122658

Output:

Screenshot 2024-11-28 122706

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