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.
Escape them with backslashes.
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 (http://forum.coppermine-gallery.net/index.php?topic=35580.0) if its ready for the mods section