Skip to content

[Feature] MudGallery - Support for Single Image as ImageSource #325

@Tony-1992

Description

@Tony-1992

Hi, I couldn't find any previous issues for this request.

Current Behavior

MudGallery accepts a list of strings as the source images (ImageSource), allowing users to display multiple images in the gallery. However, there is no support for directly providing a single string as the ImageSource.

Desired Behavior

It would be beneficial to add a version of MudGallery that accepts a single string as the ImageSource, in addition to the existing capability to accept a list of strings. This will make it more convenient for users to display a single image in a gallery without the need to wrap it in a list.

Use Case

The use case for this feature is to simplify the usage of MudGallery when users only want to display a single image in the gallery. This will enhance the component's flexibility and user-friendliness.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions