Parked account.

Currently using freamon@lemmy.world

  • 90 Posts
  • 207 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle

  • Have found it impossible to upload this file directly to Lemmy. It’s already a compressed WEBP file, but whatever settings I use, Lemmy insists on copying it and compressing it further, until there’s only about 5 pixels left. So the only options left are for the post to be a link to the external url, or for it to look like a comment post, but with an inline image squashed inside. Neither are ideal.

    EDIT: My experience with Lemmy:





  • Hi. I’ve found the best place to test the api is here

    Example script for making a post

    my_instance="https://lemm.ee"
    
    auth="YOUR-JWT"
    community_id=COMMUNITY-ID
    name="TITLE OF POST"
    body="BODY OF POST"
    
    API="api/v3"
    
    create() {
            end_point="post"
            json_data="{\"auth\":\"$auth\",\"community_id\":$community_id,\"name\":\"$name\",\"body\":\"$body\"}"
    
            url="$my_instance/$API/$end_point"
    
            curl -H "Content-Type: application/json" -d "$json_data" "$url"
    }
    
    create
    

    You’ll need to get your instance’s community.id for the community you want to post to. To use this community as an example, it would be:

    my_instance="https://lemm.ee"
    
    API="api/v3"
    
    resolve() {
            end_point="resolve_object"
            www_data="q=https://lemmy.zip/c/linuxscripts"
    
            url="$my_instance/$API/$end_point?$www_data"
    
            curl "$url"
    }
    
    resolve
    

    (lemmy will probably sanitise the ampersand in that query, so you’ll have to replace the HTML with a literal ampersand)



  • freamon@feddit.nltoStar Wars Memes@lemmy.worldOh, I think so
    link
    fedilink
    English
    arrow-up
    3
    ·
    10 months ago

    I wasn’t trying to give you a hard time about it - I was just providing a alternative version of this meme (that was posted here a while back) with a jokey bit of text.

    For clarity though: you’re not forbidden from reposting memes from other sites. Original content is preferred, but none of us can deny the popularity of the classic stuff. There might be some guidelines coming about them, and when/if we get flairs, we’ll ask for them to be tagged, but that’s about it.










  • NSFW’ing stuff isn’t a particularly y good way to hide spoilers, btw (it’s not the same as it is on Reddit)

    It will (probably) blur the image for anyone who’s set their account to view NSFW, but the majority of members here just won’t see the post at all.

    To the extent that spoiler tags are supported, it might be better to include images as an inline link, surrounded by spoiler tags.

    Test:

    spoiler