extra gallery images in v6.0.3

Page: 1

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

After upgrading from v5.2 to v6.0.3 we are suddenly experiencing "extra" duplicate images in our image gallery (no issue in v5.2). Our image galleries are typically 3 images each, however, in v6.0.3 every time we click the icon to open the floatbox gallery the pop window adds another duplicate of one of the original 3 images (goes from "1 of 4" to "1 of 5" to "1 of 6" and etc). Additionally, on the first click to open a gallery their is already 4 images in it instead of 3 (1 extra duplicate to start with). This seems to only be happening where we are forced to use fb.activate(). Was there an underlying change with the new version that would be causing this? Here is how we are calling the functions...

We pull a record set from our DB with a SQL select query that creates a column of the fly the following in it:

 &#039;<img src="images/camera_icon.png" style="cursor: pointer;" onclick="popWin(&#039;&#039;&#039;+tablename.entryNumber+&#039;&#039;&#039;);"/>
<a href=&#039;&#039;/images/&#039;+tablename.Image1+&#039;&#039;&#039; id=&#039;&#039;&#039;+tablename.entryNumber+&#039;&#039;&#039; class="floatbox" data-fb-options="group:&#039;+tablename.entryNumber+&#039; afterBoxEnd:`parent.ColdFusion.Grid.refresh(&#039;&#039;entries&#039;&#039;,true);` caption2:`&#039;+ImageTitle+&#039;` caption:`&#039;+ImageDescript+&#039;` enableDragResize:true"></a><a href=&#039;&#039;/images/&#039;+tablename.Image2+&#039;&#039;&#039; class="floatbox" data-fb-options="group:&#039;+tablename.entryNumber+&#039; caption2:`&#039;+ImageTitle+&#039;` caption:`&#039;+artImageDescript+&#039;` enableDragResize:true"></a><a href=&#039;&#039;/images/&#039;+tablename.Image3+&#039;&#039;&#039; class="floatbox" data-fb-options="group:&#039;+tablename.entryNumber+&#039; caption2:`&#039;+artImageTitle+&#039;` caption:`&#039;+artImageDescript+&#039;` enableDragResize:true"></a>&#039; AS PictureColumn


We then load/output this query record set into a CFgrid (ajax & javascript). The grid has 20 rows, each with a camera icon that when clicked, loads the floatbox gallery for the individual row. The function that actually calls the floatbox is as follows:

  

<script type="text/javascript">

function popWin(entryNumber) {

fb.activate();

fb.start(entryNumber);

}

</script>




We use the "close" link in the lower right corner or clicking outside the floatbox to close the pop window. As I said earlier, it was working great in v5.2. Is there anything off the top of your head that would cause the change?

P.S. We absolutely love floatbox and utilize it for alerts, confirms, video I-frames, ajax content, and everything! Excellent product and excellent support!
Administrator
Registered: Aug 2008
Posts: 3382
Show me the page online and I'll tell you what's going on with it. My track record of guessing what the problem might be based on a statement that it is happening and on picking through the tea leaves of server-side code snippets is really poor, so I try to refrain from speculation.

Page: 1