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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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