IDEAS

Help shape the future of CurseForge!

Shields with base64 images

The ability to use shields from shields.io containing a Base64 image.

  • Guest
  • Jun 7 2023
  • Future consideration
  • Aug 10, 2023

    Admin response

    Hi, can you elaborate on exactly what is not working for you?

  • Attach files
  • Guest commented
    11 Aug 07:06pm

    Not OP, but if you try to use a shields badge that contains a Base64 image in a Project description, such as:

    <img alt="Minecraft: 1.16 - 1.21.1" src="https://img.shields.io/static/v1?label=&message=1.16%20-%201.21.1&color=2d2d2d&labelColor=4e4e4e&style=flat-square&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALOSURBVDhPdZNLaNRQGIXPTTKZPOaRmU4fKnSlSzeKG3HVgopu7MqCW7tQceXKRRUtghsXghZxpQsV1IVSK7VIW3xUKggFcdVqsZQ+pvNMM3ne5Hon1hmleEhCkvufL/9/OSH4j4Zu9x0udBkjge/Dtvzh0QuTs9tL/2gH4Nzo0YOyJF4nhJyQEiKiiMH3AlAavdYV+cqtofEv26WxWoCb42f2VyvWtZBGp1RNJo7jw3MDaHoSQRDG91lDYw3TfeEEwdX7F99+bfqE5uXSw5OPzS17vlq2BjiSNCw3JjfNlIYQCOGdRGCMEZ/SAW6aP3un71ELIOTY6bpnCrlOHYFPQQQCx/XjL/NR4PIR9JSChuVBlAWIRiQ0/PpgC+BMBMjpOqprJSQLIohEkM5oiMIILh+F82A1bCTyBIXeFOqLJswps2n9DchWfbDpGuhygNr3CtQOCVWvBogMqayCSKVgoYfNHyUsTK0i/Oij4KhtgKFKSNky9hQVsAUPdMUHMSkasolQCyDyMnPOxMabMmrvKpAYgSpLbYDAe+zMGxDkJIxSAuWJEsTZCHTGxtLTCorP10E2IhQiBft6DMgigcX3qAUQRQFLK2sgIW8tq2OvkUJBEtFVVaCsNZAX0tykIKur2HI8GLoCWcu2AWvlLfR2G5AEATXLiTsS+bm7M4MkD5MqMb4dFJs1C2k1ifKWjUyCtgFZTlwtmejKpyDrGfDExe/KdRtqUkKJG3kGkDJysHnrzVzwI1YM4A/POjJatLxeg8B3u2zavBMXWq4rXjRSKnryaTCvAYdnwqdhtLhamWkBLj+YHkQicUDKdL/0AsoCnj6XB0p06zA5qMKBP4s1MID5YfSBgfWPzS30N707fqa7548f2ihbI6IkHNtVyGD223I8UtEhnzs0afje2KfJ7dJYOwB/xEFHVjbrI8W6Y/R0pIdvPHn/anvpLwG/ACJ4RmGZSp8VAAAAAElFTkSuQmCC"/>

    the editor simply strips the src field after you save your changes. If you add the image using the WYSIWYG editor toolbar, it lets you see the badge in the editor, but the src field is nonetheless stripped after saving the changes to the description.


    This is not a problem with regular shields badges, such as the following:

    <img alt="GitHub" src="https://img.shields.io/static/v1?label=&message=GitHub&color=4078c0&labelColor=4e4e4e&style=flat-square&logo=github"/>

Hold on!
Before you post your idea…

for game or mod suggestions go to our discord

This board is being moderated, if you wish for your idea(s) to go public, please consider the following:

  1. Search for existing ideas

    If your idea already exists, vote for it, this will increase the chances for the idea to become reality. Duplicate ideas only split and lower votes

  2. No tech-support

    This board is for new ideas and feature suggestions, for technical issues or bug reports, visit/contact CurseForge Support

  3. English only

    This ensures that the idea is accessible to a wider audience and makes it easier for others to understand and vote for the idea

  4. No profanity

    Any ideas posted with foul language will not be published and get deleted

  5. Stay on point

    Avoid posting 'lists' of different ideas, we won't be able to address them with a proper status and they will get less votes from others, each idea should have its own post

  6. Please post 1 idea per post

    Posts with multiple ideas can not be merged and prevent us from opening these posts for upvotes