discordrpc icon indicating copy to clipboard operation
discordrpc copied to clipboard

[Feature Request] Support for external linked images

Open Hexality opened this issue 2 years ago • 3 comments

Discord now supports pointing to a url for it to display as the Large/Small image, it would be cool if we could use it with this too.

Hexality avatar May 21 '22 20:05 Hexality

image hmm, hello?

Hexality avatar Apr 25 '23 07:04 Hexality

Hi there, this is actually already possible.

Before: image After external link update: image

The error you are getting is Discord itself. They are limiting the maximum length of the URL to be 32. Hence why my URL was allowed. But yours gave a error.

const char* largeImageKey; /* max 32 bytes */ Source: https://discord.com/developers/docs/rich-presence/how-to#updating-presence

What I can recommend is, just like my example, use https://imgur.com/, upload your image there and your image URL should be short enough.

CyberNeonHD avatar Jan 20 '24 02:01 CyberNeonHD

The problem is that the url itself is provided directly by the coverart platform, I can't really modify it. But welp, can'þ do anything I guess.

Hexality avatar Jan 20 '24 20:01 Hexality