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: Thumb view : recover pid foreach thumb  (Read 2330 times)

0 Members and 1 Guest are viewing this topic.

Cisi

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 14
Thumb view : recover pid foreach thumb
« on: April 06, 2005, 07:21:32 pm »

Hi all . I tryed to recover pid (for echo) for each thumbnails in thumb view , but had some problem cause of my php inexperience .
So if anyone should post a modification for (i think) function display_thumbnails in function.inc.php i would really appreciate!
I tried to do a myspl_query but something was wrong .

Thanx a lot in advance .
Regards

Mods , i hope this is the right place to post this question .
« Last Edit: April 08, 2005, 09:50:45 am by GauGau »
Logged

Cisi

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 14
Re: Thumb view : recover pid foreach thumb
« Reply #1 on: April 07, 2005, 04:36:49 pm »

ok , solved ..
in functions.inc.php
after this

Code: [Select]
                        $thumb_list[$i]['aid'] = $row['aid'];
put this

Code: [Select]
$thumb_list[$i]['pid'] = $row['pid'];
Next , i use
Code: [Select]
".$thumb_list[$i]['pid'] = $row['pid']."
to display position of pics (in foreach cycle
Bye !
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 21 queries.