this post was submitted on 18 Jun 2023
5 points (100.0% liked)

Lemmy / Site Discussions

156 readers
1 users here now

Navigation Links:

Got any ideas to make the instance better? Any issue with federating from your home instance? Post it here.

founded 2 years ago
MODERATORS
 

Does Lemmy implement a spoiler mode for images? Or perhaps it can be implemented with a custom CSS?

you are viewing a single comment's thread
view the rest of the comments
[–] ludrol 2 points 2 years ago* (last edited 2 years ago) (3 children)

No. We need to wait for someone or write it ourselves.

From my testing mobile web is the worst for spoilers, jeroba dosn't load image previews, and desktop is kinda all right.

[–] Yuki2501 2 points 2 years ago* (last edited 2 years ago) (1 children)

I just got an idea! :D Can you change a community's CSS? If that's the case, we could add a line to the CSS so that LN and prepub posts show an arbitrary image instead of the thumbnail.

EDIT: Example:

.thumbnail { content:url('spoiler.jpg'); }

[–] neshura 2 points 2 years ago

We can but it'd need to be a client userstyle due to people on other instances. Also doesn't fix text previews on mobile possibly co taining spoilers.

I'll make one after I finish the basics of the chapter posting bot, that one has priority rn

[–] Poki 1 points 2 years ago

at least separate spoiler communities makes up for it

[–] Deemo@lemmy.fmhy.ml 1 points 2 years ago

Jeroba can load image previews in alpha 0.0.34. Play store is on 0.0.33.

I'm currently using fdroid version of Jeroba for faster updates.