How to mount SPIFFS into LVGL 8.3.11+


I am trying to get started with Elecrow 7in screen, which uses ESP32-S3, and following their tutorial to get a design generated from SquareLine into my device.
The main issue is that the images generated are too large as a C source code, and I would like to use PNG, or JPEG uploaded to the SPIFFS section of my target.
So far I have not been able to find a tutorial to achieve this, whatever I do, I cannot seem to get this to work.
I don’t seem to be able to be able to mount SPIFFS onto LVGL, many of the tutorials and code snippets I have come across either do not work, or outdated from older LVGL versions.

If you have any tutorials or a guide how to do this, I would really appreciate it.
I am attaching my test code here, it is a bit messy as I was modifying the demo code

What MCU/Processor/Board and compiler are you using?

Elecrow 7in Display with ESP32-S3. Using Arduino IDE

What LVGL version are you using?


What do you want to achieve?

I would like to be able to read PNG, GIF, and JPEG files from SPIFFS

What have you tried so far?

I attaching my current code, I am very new to LVGL, so not sure where to start.

Code to reproduce

Arduino Code (449.4 KB)
SquareLine Project (1.1 MB)