Thumb view : recover pid foreach thumb Thumb view : recover pid foreach thumb
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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 !