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

  • ludrolMA
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year ago

    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.

    • Yuki2501OP
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      1 year ago

      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'); }

      • NeshuraMA
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year 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
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      at least separate spoiler communities makes up for it

    • Deemo@lemmy.fmhy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year 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.

    • Yuki2501OP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      The first one is a feature request I submitted. Let’s hope a dev decides to work on it! crosses fingers