TarheelGrad1998 / gallery-card

A custom card for Home Assistant that will display images and/or videos from a folder in the style of a gallery.
99 stars 33 forks source link

Display in reverse chronological order #6

Closed parautenbach closed 3 years ago

parautenbach commented 3 years ago

I think it would be useful to have the option to display images with the latest one first, especially for a security camera. Having a config option for this would be nice.

Also, thanks for making this available via HACS.

TarheelGrad1998 commented 3 years ago

You should be able to do this using the sort parameter on the files component.

But I agree it would be a nice option on the card itself, I'll plan to add it.

parautenbach commented 3 years ago

It makes sense to do it on the files component - you're right. I see the sort option but not how to control the sort direction.

Thanks for considering to add a UI option.

TarheelGrad1998 commented 3 years ago

This has been added in v3.0, just released.