Frequently when uploading an image I get the following error:

SyntaxError: Unexpected token ‘R’, “Request er”… is not valid JSON

Usually when I get this error, I just try again, and it often works fine. Tonight I got this error 15+ times uploading two images.

I realize the “SyntaxError” is really just hiding the real error. Does anyone know what this error is? Is there a way I can see the actual error?

Also of note, I tend to upload full size (read large) images.

  • b9999998
    link
    English
    3
    edit-2
    1 year ago

    Also 4096x4096 max dimensions.
    For the sake of readers, I usually also compress the images down. TBH, I suspect a very large % of readers here are simply satisfied with smaller images/smaller size. As on Reddit, I also suspect most users are on mobile platforms/devices so very large uncompressed images do not add any addit!ional benefit. This coming from me as a poster that used to like to view/zoom into stuff on 4K monitors. It always surprises me that low quality images tend to get a lot more upvotes…

    • @yeuxprivesOP
      link
      English
      21 year ago

      Ah, the dimensions are most likely the problem. I use high resolution monitors, and have always disliked the smaller images, particularly when they get upscaled. May have to do some A/B testing on that point.

      • b9999998
        link
        English
        11 year ago

        I use Lensdump and imgchest as alternative hosting sites for images/sets where I want to preserve large images like the ones for [email protected] , but find that sizing down to 4096 limit is still a good tradeoff. TBH, afaik, nobody here on LemmyNSFW that I know has ever complimented positively about the quality of uhd images… (Btw, I used to mod https://old.reddit.com/r/UHDnsfw/ so I do appreciate the very large ones but its also a very niche audience in these days of mobile devices…)