openkfw / TruBudget

A blockchain-based workflow tool for efficient and transparent project management
https://openkfw.github.io/trubudget-website/
GNU General Public License v3.0
83 stars 39 forks source link

ui: Image compression backward compatibility bug #1814

Closed SamuelPull closed 1 month ago

SamuelPull commented 1 month ago

Description 😯

Project images in previous versions used jpg format. Ensure that image is displayed correctly, for example by dynamically modifying image src to request webp version.

Screenshot 2024-05-03 at 09 43 08

How to reproduce 🕹

  1. <E.g. login as user XYZ>
  2. <E.g. try to create new subproject>
  3. <E.g. You will see error in console>
  4. ...

Screenshots 📷

Add screenshots or screen recording video if applicable.

Your Environment 🌎

Tech Version
Frontend v2.10.0