News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

Thumb view : recover pid foreach thumb

Started by Cisi, April 06, 2005, 07:21:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Cisi

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 .

Cisi

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

                        $thumb_list[$i]['aid'] = $row['aid'];

put this

$thumb_list[$i]['pid'] = $row['pid'];

Next , i use
".$thumb_list[$i]['pid'] = $row['pid']."

to display position of pics (in foreach cycle
Bye !