News:

CPG Release 1.6.31
Minor maintenance release
Clean up remaining remnants of the .net CPG website
Improved installer_stub compatibility with various server configurations

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://coppermine-gallery.com/forum/index.php?topic=35580.0 if its ready for the mods section