Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option for separate tile graphic vs. popup graphic #283

Open
swashbuck opened this issue Aug 8, 2023 · 1 comment
Open

Add option for separate tile graphic vs. popup graphic #283

swashbuck opened this issue Aug 8, 2023 · 1 comment

Comments

@swashbuck
Copy link
Contributor

swashbuck commented Aug 8, 2023

Subject of the enhancement

When using the grid layout, only one graphic option is supported. It would be useful if we could supply a separate graphic for the popup. This would allow us to use a graphic of a different aspect ratio or just a different graphical concept entirely.

As _graphic is currently used by both the pin and grid layouts, maybe a new option for _graphicTile could be introduced?

Examples

This would use a different graphic for the first item's tile and popup image. Note the different aspect ratios. Currently, this is not possible.

@guywillis
Copy link
Contributor

Hi @swashbuck,

Perhaps this request would be more fitting for the adapt-hotgrid plugin as it already supports different image paths for the item and the pop up.

We'd need to add a config option to the hotgrid to support a tile based design but that should be mostly limited to styling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants