Topic: Gallery - how to override model attributes
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 6 months ago
Unfortunately, it's not possible to override those parameters, you need to map your data to the required format.
Resolved
- User: Pro
- Premium support: Yes
- Technology: Angular
- MDB Version: 9.4.0
- Device: Thinkpad
- Browser: Chrome
- OS: Ubuntu 20.04
- Provided sample code: No
- Provided link: No