lemmy icon indicating copy to clipboard operation
lemmy copied to clipboard

Image Gallery/Carousel support

Open kolgza opened this issue 5 years ago • 7 comments

Describe the feature you'd like

Add support for image carousels, with the ability to add captions, links, and alt text to each slide.

Describe alternatives you've considered

It's already possible to add multiple images and links to post bodies.

Additional context

I only thought to open this feature request after Reddit added this feature.

The announcement is here.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

kolgza avatar Jul 16 '20 14:07 kolgza

It would probably be best to ask for a gallery / collection feature / API from our image host, pict-rs. Then lemmy could support carousel links by parsing that gallery.

Otherwise, lemmy would have to change from a single link aggregator, to a multi-link aggregator where a single post could have multiple links attached to it, which I wouldn't want to do.

Of course you can already link imgur albums or whatever as links, but it might be nice for pict-rs to have this.

dessalines avatar Jul 16 '20 14:07 dessalines

I did ask, and it seems we're on our own with this. The best long term way to think about this IMO, is to expand lemmy to allow for multiple links for a single post.

IE, create a post_link table, and extract the url, thumbnail, and embed columns into it, and return that array of links with the lemmy post.

dessalines avatar May 28 '21 15:05 dessalines

Couldn't this be resolved from the ActivityPub side, by having a as:collection with links to all images in the galley?

lullis avatar Jan 18 '25 17:01 lullis

That would only solve the federation part, but it also needs to be supported in the database, api and frontend.

Nutomic avatar Jan 20 '25 09:01 Nutomic

I'm thinking this issue is not worth keeping open; especially since you can already use post and comment bodies to post multiple pictures anyway.

dessalines avatar Apr 16 '25 15:04 dessalines

Could we reconsider this? I've been working on this for a little while now, just been tapped for time so haven't been able to get anything up.

flamingos-cant avatar Apr 18 '25 07:04 flamingos-cant

Sure.

dessalines avatar Apr 18 '25 19:04 dessalines