Opigno custom image for badge not working

Created on 22 May 2023, over 1 year ago
Updated 23 January 2024, 8 months ago

Opigno has a way to set up custom image for badge in module and course but it seems that even the custom image is being inserted, the default image is being used for badge.

🐛 Bug report
Status

Active

Version

3.0

Component

Feature

Created by

🇹🇭Thailand iann Typhoon

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @iann Typhoon
  • Assigned to isalmanhaider
  • 🇹🇭Thailand iann Typhoon

    Hi, may I know the update on this issue?

  • Hello, I'm hoping we can push a fix for this through. I'm having the same issue on my Opigno 3.0.9 instance.

    It seems like there's no back-end scripting that is taking the badge pngs that are uploaded and replacing the background image in the .badge css class. No matter what you upload, the UI, and more specifically, the .badge css class background-image property, always shows the same badge.svg located in the opigno_v3.0.9_root_folder/web/themes/contrib/aristotle/dist/images/design folder.

    Perhaps something could be written to dynamically update the .badge class?

    Thank you for your help.
    Ben

Production build 0.71.5 2024