FinapsMX / BootstrapCarousel

Image carousel using resources from bootstrap
Apache License 2.0
1 stars 8 forks source link

Image not appearing #1

Closed bgeveritt closed 9 years ago

bgeveritt commented 9 years ago

In Mendix 5.14.1, the image(s) do not appear in the carousel. I debugged it, and it appears it's obtaining the filename, rather than the guid. Updating line 286 to the following appeared to solve it:

carouselItem = carouselItem.split('{{img}}').join(window.location.origin +'/file?guid='+ objs[i].getGuid());

simonmartyr commented 9 years ago

@bgeveritt thanks for the feedback, I've used the widget in 5.14.1 and not encountered this issue. However I think your solution is the better practise and should be added.

simonmartyr commented 9 years ago

Fixed in new release.