Forum Moderators: coopster
A link to see the problem I am having is: <snip>
Here is the associated code that I am using:
$img_url = '[url='.$CONFIG['ecards_more_pic_target'].$fullsize_url.'] [/url]';
$name_url = '[url='.$CONFIG['ecards_more_pic_target'].$fullsize_url.']'.$name.'[/url]';
$img_dir_url = $CONFIG['ecards_more_pic_target'].$fullsize_url;
$img_dir_url_forum = ' ';
//this just brings everything in form... we create a table etc.
$bbcode_data = '<table align="center" width="'.$CONFIG['picture_width'].'">'.$script_data.'<tr>';
$bbcode_data .= '<td>Thumbnail Size</td>';
$bbcode_data .= '<td><textarea name="bbcode" rows="1" cols="40" style="overflow:off;">'.$img_url.'</textarea><input type="button" value="Copy" onclick=\'copy_clip("'.$img_url.'")\'></td>';
$bbcode_data .= '</tr><tr>';
$bbcode_data .= '<td>Full Size</td>';
$bbcode_data .= '<td><textarea name="bbcode" rows="1" cols="40">'.$img_dir_url_forum.'</textarea><input type="button" value="Copy" onclick=\'copy_clip("'.$img_dir_url_forum.'")\'></td>';
$bbcode_data .= '</tr><tr>';
$bbcode_data .= '<td>Direct Link</td>';
$bbcode_data .= '<td><textarea name="bbcode" rows="1" cols="40">'.$img_dir_url.'</textarea><input type="button" value="Copy" onclick=\'copy_clip("'.$img_dir_url.'")\'></td>';
$bbcode_data .= '</tr></table>';
[edited by: eelixduppy at 9:10 pm (utc) on Nov. 1, 2008]
[edit reason] removed URL [/edit]
have you looked at the page source to see what is actually created? Most often that will give you your answer.
is this the line we are talking about?
$img_url = '[url=' . $CONFIG['ecards_more_pic_target'] . $fullsize_url . '][IMG]' . $CONFIG['ecards_more_pic_target'] . $thumb_url . '[/IMG]';
and which variable is getting messed up?