Topic: Flick captions not loading correctly

I have the latest version of JB (1.3.3)
Am using it to bring in images and captions (flickrShowDescription) from Flickr, using flickrSetId.
Everything works as it should... EXCEPT:

On the first load (before loop) the captions for images 3, 5, 7, 9 etc do not show.
Navigate back to them or allow the slideshow to loop and they are there.

Interrogating the loading I see it makes one call to get the list of photos, then I would expect it to make one extra call per photo, to get the description, but the calls apparently seem to be:
1,2,1,2,1,2 then 3,4,5,6,7

I.e. it reloads the info first two photos over and over. This appears to block it showing the captions until it is forced to do so by navigating back & forth or when the gallery loops.

Is there a bug in the code somewhere? Thanks for your attention.

Re: Flick captions not loading correctly

Found the bug - it was caused by "showImageNumber: "FALSE" --
Comment that out and it all loads properly.
There is something to fix in there if you get round to it.
Thanks

Re: Flick captions not loading correctly

Please post the URL to your gallery so that I can take a look as I have been unable to replicate the problem you describe.
Thank you.

I created a test gallery using Juicebox-Pro v1.3.3, loading a Flickr set and setting flickrShowDescription="TRUE" and showImageNumber="FALSE". All Flickr Titles and Descriptions display as expected in my test gallery.
There may be a combination of settings (a configuration option that your gallery uses in conjunction with showImageNumber="FALSE") which is causing the problem.

Re: Flick captions not loading correctly

Other config options used are:

                        galleryWidth: "220px",
                galleryHeight: "290px",
                useFlickr: "true",
                flickrSetId: "xxxxxxx",
                flickrShowTitle: "FALSE",
                flickrShowDescription: "TRUE",   
                enableAutoPlay: "TRUE",
                autoPlayOnLoad: "TRUE",
                showAutoPlayStatus: "FALSE",
                enableLooping: "TRUE",
                imageTransitionType: "FADE",
                showOpenButton: "FALSE",
                displayTime: "5",
                thumbWidth: "40",
                thumbHeight: "40",
                showThumbsButton: "FALSE",
                        showSmallThumbs:"FALSE",
                        showLargeThumbs:"FALSE",
                showThumbsOnLoad: "FALSE",
                showSmallThumbsOnLoad: "FALSE",
                showSmallThumbsButton: "FALSE",
                showImageNumber: "FALSE",
                thumbNavPosition: "CENTER",
                captionPosition: "BELOW_IMAGE",
                backgroundColor: "rgba(0,0,0,1)",
                imageShadowBlur: "0",
                thumbShadowBlur: "0",
                        navButtonBackColor: "rgba(0,0,0,0)",
                maxCaptionHeight: "140"

Re: Flick captions not loading correctly

Thank you for posting your gallery's configuration options. On further investigation, I have been able to replicate the problem.
It looks like the bug manifests itself as follows.

The caption is not displayed for the first image in each new thumbnail page (whether the thumbnails are displayed or not) the first time it is displayed when Flickr is used as a source of images and the following configuration options are set:

flickrShowTitle: "FALSE",
flickrShowDescription: "TRUE",
showImageNumber: "FALSE"

In a larger gallery than your own (100% x 100% rather than 220px x 290px) with fewer images (where all thumbnails are displayed on a single thumbnail page) the bug does not appear.

I have logged a bug report with the developers.
Thank you for reporting it.

In the meantime, if your gallery does not contain too many images, a possible workaround would be to set imagePreloading="ALL".
Alternatively, you could reduce your thumbnail dimensions (e.g. thumbWidth="10" and thumbHeight="10") so that all your thumbnails would fit on a single thumbnail page (if they were displayed) and would be preloaded with the default imagePreloading setting of PAGE.

Re: Flick captions not loading correctly

Thanks for the feedback. Made a workaround.