this post was submitted on 28 Aug 2023
24 points (92.9% liked)

Lemmy.world Support

3227 readers
74 users here now

Lemmy.world Support

Welcome to the official Lemmy.world Support community! Post your issues or questions about Lemmy.world here.

This community is for issues related to the Lemmy World instance only. For Lemmy software requests or bug reports, please go to the Lemmy github page.

This community is subject to the rules defined here for lemmy.world.

To open a support ticket Static Badge


You can also DM https://lemmy.world/u/lwreport or email [email protected] (PGP Supported) if you need to reach our directly to the admin team.


Follow us for server news ๐Ÿ˜

Outages ๐Ÿ”ฅ

https://status.lemmy.world



founded 1 year ago
MODERATORS
 

Can't post images, says "SyntaxError: Unexpected token !DOCTYPE "... is not valid JSON"

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 5 points 1 year ago (1 children)

Some instances are disabling image uploads temporarily until they can deal with the trash that's uploading CSAM.

Not certain if lemmy.world is one of them.

Upload to imgur, copy the image link and post that (the link ending in .jpg/.webp, not the plain imgur link) for the time being.

[โ€“] The_Picard_Maneuver 2 points 1 year ago (1 children)

I tried to do this earlier and I think I messed up, because it was directing off site instead of viewable in Lemmy. Does that mean I likely pasted the link instead of the image?

[โ€“] [email protected] 4 points 1 year ago (1 children)

When you finish uploading you're brought to a full webpage with the image embedded in it like this:

https://imgur.com/a/SzSKW5M

You want to right-click on the image and select 'open image in new tab' which gives you this:

https://i.imgur.com/GFTwYm3.jpg

(if you're on mobile first select 'desktop site' from the browsers options or you'll get a low quality .webp version from the open image button. It'll work, but many ppl hate it)

Finally format it like this to embed it in a post/comment:

![](https://i.imgur.com/GFTwYm3.jpg)

(I added backslashes to the front of that to prevent it embedding the link as an image and show you the formatting instead)

[โ€“] The_Picard_Maneuver 2 points 1 year ago

Thank you! This helps