Topic: Gallery - how to override model attributes
qwrobins free asked 4 years ago
Hi, I'm trying to get a gallery going and using the examples in the gallery docs. The issue that I'm running into is that the examples specify "img" and "thumb", but in my case, the backend has "picURL" and "thumbURL" which is causing broken images. Is there a way to override those attributes and set them to what's in my model?
Thanks!
Arkadiusz Idzikowski staff answered 4 years ago
Unfortunately, it's not possible to override those parameters, you need to map your data to the required format.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- ForumUser: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: 9.4.0
- Device: Thinkpad
- Browser: Chrome
- OS: Ubuntu 20.04
- Provided sample code: No
- Provided link: No