neogucky
Posts: 0
Joined: Fri Feb 14, 2014 1:32 pm

Image Carousel won't update after adding images

Hi there,

I'm trying to figure this one out for some time. I have an image carousel with one frame and want it to display two images. (Which are stored on the device)

The Image Carousel looks like this:
Answers
- Answer
- src
- title

For this purpose I have the following code in my views "Page show":

code
getOfflineAnswers.service.__requestOptions.echo = '{"image":[{"title":"","src":"files/views/assets/image/write.png"},{"title":"","src":"files/views/assets/image/write.png"},{"title":"","src":"files/views/assets/image/write.png"}]} ';
getOfflineAnswers.execute();
/code

The getOfflineAnswers Service maps the image array to "Answers" and title to title, src to src.

This kind of works. I see one image in the Image Carousel, but can not swipe to get the next image. When I do the same thing with an Image Carousel containing 3 hardcoded frames with the same 3 images as above it works fine.

I think (but I'm not quite sure) that the exact same code worked before updating to the newest Library version (v1.2 to v2.0).

neogucky
Posts: 0
Joined: Fri Feb 14, 2014 1:32 pm

Image Carousel won't update after adding images

Update:

I switched back to Library v1.2 and now the image carousels work again. But I would very much like to work with the newest Library. Any input how to get that working?

Additionally: The Image Carousel indicators wouldn't show in the newest version (even with hardcoded Carousels and Indicators set to show). This was fixed by going back to v1.2 as well.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Image Carousel won't update after adding images

Hello! Unfortunately it's a bug. Should be fixed with next release (middle April)

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Image Carousel won't update after adding images

Hello!

This bug was fixed.

Return to “Issues”