On Lemmy, it is possible to upload an image by pasting it from the clipboard into the URL or Body field.

On PieFed, it seems that it is not possible to upload an image unless it is already stored as a permanent file on one’s device.

  • Rimu@piefed.socialM
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    1 month ago

    This has been on my mind, lately.

    Seems to me that a prerequisite for the pasting-in function is a media library management system so when someone pasted in the wrong thing they will have a way to delete it later. How does Lemmy handle that?

    A media library could hold audio and videos too, for posting those…

    But we don’t really want to become imgur, the storage would be immense. So really we need a way for people to BYO storage - provide the login details to their ftp site, Google drive, S3 etc and then use that as the storage provider for that user… The media library would be written in a way that it can be extended with different storage providers, perhaps defined using plugins so any instance can add their own weird custom storage solution…

    It’s a lot. The vision needs to be pared back to something achievable yet still useful.

    • threelonmusketeers@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 month ago

      when someone pasted in the wrong thing they will have a way to delete it later. How does Lemmy handle that?

      For a few seconds immediately after pasting, there’s a small popup with a “click to delete image” button.

      we don’t really want to become imgur, the storage would be immense

      Yeah, I understand that storage can be a challenge. It’s always a tradeoff between cost and redundancy. Any time you rely on someone else’s storage, there is the potential for link rot. I wonder if there would be some way for instances to share the load of file hosting in a P2P manner.

      we need a way for people to BYO storage - provide the login details to their ftp site

      I remember one of the Lemmy mobile apps has an “upload to Imgur” option. It would be neat if such a feature were implemented natively in PieFed.

      • Ek-Hou-Van-Braai@piefed.social
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        29 days ago

        What is immense? aka. do we have an idea how much storage 1000 users would use per year

        Perhaps it can be an optional feature for instance-owners? (If they can set limits per user that might also help)

        We can already upload images with the button, pasting it shouldn’t increase the size right?

  • threelonmusketeers@sh.itjust.worksOP
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 month ago

    Alternatively, would there be a way to configure the “Share on PieFed” bookmarklet to fetch and mirror images instead of embedding the remotely hosted image?