Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Helping decoding filmstrip code  (Read 2319 times)

0 Members and 1 Guest are viewing this topic.

sjordan

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 52
Helping decoding filmstrip code
« on: July 15, 2006, 02:20:18 am »

Hello,

I'm working on code to do a sliding filmstrip. It's nearly working 100%. But I noticed when I clicked on a few of the thumbnails in the filmstrip, the resulting page was missing the beginning image in the filmstrip.

I tracked this down to line 1851 in functions.inc.php.

Can someone please educate me as to the need for (use of array_slice):
Quote
$pic_data=array_slice($pic_data,$lower_limit,$max_item)
If I comment out this line, things work fine (so far).

Also line 1829:
Quote
$lower_limit=3;
seems arbitrary

Thank you in advance.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.