Where to modify private Album List Thumbs Where to modify private Album List Thumbs
 

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

Where to modify private Album List Thumbs

Started by Lif3styl3, August 31, 2006, 11:38:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Lif3styl3

Hi,

i have to add some lines to the call of the private album thnub,....
i found one entry already,... but there are problems with the syntax,....

must be this line in index.php I think:
$alb_list[$alb_idx]['thumb_pic'] = '<img src="' . $cpg_privatepic_data['thumb'] . '"  class="image" id="thephoto_'.$ri.'"  border="0" alt="" />';

But I need to modify it with onload="initImage('thephoto_'.$ri.'')"
The problem is i need the ' to open the file with an javascript but these signs are not allowed there,....
Is there something like "-" how in excel to use the sign anyway.

Nibbler


Lif3styl3

I've modiefied it that way


$alb_list[$alb_idx]['thumb_pic'] = "<img src=\"" . $cpg_privatepic_data['thumb'] . "\" id=\"thephoto_".$ri."\"
onLoad=\"initImage 'thephoto_".$ri."');\" class=\"image\" {$image_size['geom']} border=\"0\" alt=\"{$row['filename']}\"
title=\"$pic_title\">";


It also worked,.....
but thx for your help,....
solved then

plz take a look @http://forum.coppermine-gallery.net/index.php?topic=35580.0 if its ready for the mods section