fb.reload & image rotate

Page: 1

Author Post
Member
Registered: Feb 2014
Posts: 11
Hello,

I was wondering what the make up of fb.reload is... I am looking to rotate an image, as shown on the bottom of the demo page, but in a gallery of 3 images. I have a server side script that rotates an image already, however, if only one image in a gallery of 3 needs to be rotated, will fb.reload reload the gallery back to the same image number and maintain the gallery sequence; or does it reload the entire gallery and start over with image 1?

Thanks much...
Administrator
Registered: Aug 2008
Posts: 3382
If you provide a path parameter to fb.reload() to load new content, it will replace only the currently showing image in a gallery set and will retain the existing order of that set.

The newly assigned gallery set member is a permanent replacement - at least until fb.reload is run again - and will continue to occupy that position in the gallery, even after the floatbox is closed and re-opened again from the starting thumbnail.
Member
Registered: Feb 2014
Posts: 11
Awesome! Exactly what I am looking for!

Page: 1