Thanks for the information though.

  • funkless_eck@sh.itjust.works
    link
    fedilink
    arrow-up
    11
    arrow-down
    4
    ·
    edit-2
    4 months ago

    yeah it uses this really neat semantic rendering programming language for serving structured documents across servers

    It’s a bit tricky, but anyone with at least a Masters in CompSci should be able to parse some of it enough to get the gist. Bear in mind that the “source” is abbreviated to src, and “image” similarly. The rest is coding that gives the computer instructions, you’ll also need to replace FILENAME in the code with the actual filename. It goes like this

    <img src="FILENAME" /> 
    

    Let me know if I can explain it more clearly.

    • gazter@aussie.zone
      link
      fedilink
      arrow-up
      11
      arrow-down
      1
      ·
      4 months ago

      I feel like the level of snark in your reply is… High. It doesn’t make for a pleasant interaction, and it doesn’t help make lemmy a nice place to be.

      So, if the image you want to put into your email is not hosted somewhere, what’s the best way to go about this, ensuring compatibility?

      • qaz@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        4 months ago

        I don’t think it’s really directed at you and moreso about making fun of the company who didn’t put in any effort to make it show up correctly.

      • funkless_eck@sh.itjust.works
        link
        fedilink
        arrow-up
        4
        ·
        4 months ago

        I’m just being a silly billy it’s not directed at you.

        It’s more like “ah if only there was a simple solution that could’ve been used.”

        All images are hosted somewhere, I would consider an intern fresh out of college know how to correctly add an image to an email, or at least only be told once if somehow they had never seen this before.

      • _edge
        link
        fedilink
        arrow-up
        1
        ·
        4 months ago

        You can have inline images that are only shown as part of the rendered HTML. Don’t ask me how, but you’ll find some examples in your inbox.

      • lichtmetzger
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        3 months ago

        So, if the image you want to put into your email is not hosted somewhere, what’s the best way to go about this, ensuring compatibility?

        You can base64-encode the image file. It’s super-jank, but it works, even in Outlook.

        Example: https://www.base64-image.de/tutorial

    • Dave.@aussie.zone
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago

      Let me know if I can explain it more clearly.

      Multi-part MIME containing inline images is actually what you’re looking for and it’s fairly easy to implement.

      Here’s an example. They handwave over the html section that actually refers to the inline images that they embed, but that’s the basic layout you need.

      https://learn.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-oxcmail/7a08211a-760a-41af-8cab-0acf462c4094