Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


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.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • 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
Tags