Skip to content

Image Placeholders not honoring image resizing #2432

@Dogway

Description

@Dogway

Bug Description

An average color of the image is shown automatically as the background of the image widget (at least in Elementor) when size is not Fill.

Steps to reproduce

Add an Image widget in Elementor
Resize the image via max-width or height in the Style tab.
Check the image in the homepage, the sides will show a background color depending on the aspect ratio of the image widget.

Screenshots

Image

Additional Context

  • PHP Version: 8.4.19
  • OS: Windows 11
  • Browser: Chrome 146.0.7680.165
  • Plugin Version: 1.0.0-beta5
  • Device: PC

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Plugin] Image PlaceholdersIssues for the Image Placeholders plugin (formerly Dominant Color Images)[Type] BugAn existing feature is broken

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Not Started/Backlog 📆

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions