presence.nvim icon indicating copy to clipboard operation
presence.nvim copied to clipboard

add ability to put custom main image

Open SIGMazer opened this issue 2 years ago • 5 comments

#102
i edit init.lua to allow users change main image in setup

require("presence").setup({
 .... 
    main_image          = "neovim",                   -- Main image display (either "neovim" or "file")
....})

now it will be neovim or file or image-url

Example:

    main_image    = "https://ih1.redbubble.net/image.4300886209.2465/st,small,845x845-pad,1000x1000,f8f8f8.jpg"

image @andweeb

SIGMazer avatar May 15 '23 22:05 SIGMazer

i can't change images other than your example link, it only accepts image address links that are from redbubble image

khar34 avatar Sep 09 '23 16:09 khar34

@khar34
i try other images and it work for me, so make sure that you copy image address not copy link address and can you share the images link that not working image

SIGMazer avatar Sep 10 '23 12:09 SIGMazer

@SIGMazer Any discord image address link (if you wanna try: https://media.discordapp.net/attachments/749651315851919460/1150139414702465114/02f377416413f42f103a72c27e49acef.png?width=682&height=671), I also tried some links from images that are posted on social media like Facebook. I tried posting images to RedBubble and then got the image address to put in the config, It actually worked. I'm just wondering why any links that are not from RedBubble wouldn't work update: Pinterest links do work image

khar34 avatar Sep 10 '23 13:09 khar34

@khar34 i believe that the problem with just discord media(for now), because i tried randomly pick images from google and it work

SIGMazer avatar Sep 10 '23 17:09 SIGMazer

@andweeb

SIGMazer avatar May 21 '24 18:05 SIGMazer