Anyone else getting an error when trying to upload images? I resized some of my shots because they were too large, and now it says "SyntaxError: Unexpected token ‘<’, "<HTML “… is not valid JSON”. Not sure what is going on as I’m trying to upload a .jpg, not an html.

  • @voxov7M
    link
    English
    31 year ago

    I know Lemmy likes .png. If they’re big then I’m sure they’re also beautiful, so if you wanted to put the url as a .png and then add alink to an album, that could work in the meantime.

    Images and video

    Lemmy also allows sharing of images and videos. To upload an image, go to the Create post page and click the little image icon under the URL field. This allows you to select a local image. If you made a mistake, a popup message allows you to delete the image. The same image button also allows uploading of videos in .gif format. Instead of uploading a local file, you can also simply paste the URL of an image or video from another website.

    Note that this functionality is not meant to share large images or videos, because that would require too many server resources. Instead, upload them on another platform like PeerTube or Pixelfed, and share the link on Lemmy.

    I eagerly await your submissions.