Seamndel Posted January 24, 2022 Share Posted January 24, 2022 (edited) When I write a comment with a custom Emoji on Discord, the Emoji has the text size I want: https://imgur.com/a/svMilhu Whereas if I try to simply copy-paste it into here it results in an unproportional Emoji relative to text size. Emoji Test 1 How can I make it so it maintains the correct size? Test: Why not talk to dgasgd? Edited February 7, 2022 by Seamndel Link to comment Share on other sites More sharing options...
Helyx Posted January 24, 2022 Share Posted January 24, 2022 The forum uses it's own emotes. Click the smiley face above the text field when posting on the forums to see available emotes. 1 Link to comment Share on other sites More sharing options...
Seamndel Posted January 24, 2022 Author Share Posted January 24, 2022 17 minutes ago, Helyx said: The forum uses it's own emotes. Click the smiley face above the text field when posting on the forums to see available emotes. Well, this doesn't really help me (unless I can add custom emoted to this forum?) Also, as you can see in my original post , the Platinum Trophy Emoji translates quite well to the forums, so why not just incorporate that into my posts instead of an emote? The only problem would be to "teach" my computer to change the image =size? , which I have no idea how to do (no programming experience) . i.e when I "copy" a sentence from Discord , the computer auto-resizes the Emoji when I "paste" it into psnprofiles.com . I've had this suggestion: const regex = /\[IMG\]https:\/\/cdn\.discordapp\.com\/emojis.*\[\/IMG]/gm; const str = `[IMG=https://cdn.discordapp.com/emojis/935270790675431484.webp?size=44&quality=lossless]; if (regex.test(str)) { //regex to replace the size} But, again, no knowledge in programming. Is the aforementioned code Javascript? Here's the Platinum Trophy image as it appears in the Elements tab (left-click > Inspect) , in DevTools (Chrome): <img aria-label=":PlatinumTrophy:" src="https://cdn.discordapp.com/emojis/935270790675431484.webp?size=44&quality=lossless" alt=":PlatinumTrophy:" draggable="false" class="emoji" data-type="emoji" data-id="935270790675431484"> I see there's a "size=44" section ? Would I be correct in saying that in order to achieve my desired size all I have to do is to somehow teach my computer a function where the "44" goes in and ,say, "20" comes out? If so , how do I go about achieving this? Link to comment Share on other sites More sharing options...
Helyx Posted January 25, 2022 Share Posted January 25, 2022 That's a lot of hypothetical work for this stock forum template. Try this instead: :platinum: Link to comment Share on other sites More sharing options...
Seamndel Posted January 25, 2022 Author Share Posted January 25, 2022 (edited) 8 minutes ago, Helyx said: That's a lot of hypothetical work for this stock forum template. Try this instead: :platinum: Can you elaborate on actual "how to" ? I don't need the stock platinum image, it has no use to me. If I'll learn how to do it my way, I'll be able to bring over other Emojis as well. Edited January 25, 2022 by Seamndel Link to comment Share on other sites More sharing options...
Helyx Posted January 25, 2022 Share Posted January 25, 2022 It's literally right there, dude. Type: : platinum : (without the spaces). I tried to direct you to the point and click method, but you dodged that pretty quickly. Link to comment Share on other sites More sharing options...
Seamndel Posted January 25, 2022 Author Share Posted January 25, 2022 (edited) 22 minutes ago, Helyx said: It's literally right there, dude. Type: : platinum : (without the spaces). I tried to direct you to the point and click method, but you dodged that pretty quickly. Even if either of us can automate it so that aria-label=":PlatinumTrophy:" src="https://cdn.discordapp.com/emojis/935270790675431484.webp?size=44&quality=lossless" alt=":PlatinumTrophy:" draggable="false" class="emoji" data-type="emoji" data-id="935270790675431484" Auto-turns into: : platinum : We'll still be facing 2 issues: 1) : platinum : would only work in this forum 2) Other Discord Emojis would still be translated into 40x40 on this site whilst being only 22x22 on Discord. Thus, I think it would be better if find a way to automate 22x22 Emoji's from Discord into 22x22 images on this forum (which would presumably help me automate the process for other forums; where the transformation might be different. Edited January 25, 2022 by Seamndel Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now