Posts: 3
Sun 15 Apr, 2007 21:17
Subject: {IMG_THL}, {IMG_THC}, ... Etc. Dimensions
Hi there, i must change the dimensions of the {IMG_THL} and similar tags, cause the images i want to use are bigger than defaults, but i cant find the way to change this dimensions. Its possible to do that?
Thanks
Posts: 2134 Location: BA
Sun 15 Apr, 2007 21:54
Subject: Re: {IMG_THL}, {IMG_THC}, ... Etc. Dimensions
You have to edit the style_color.css
Find the name of the image and set the dimensions there
Posts: 106 Location: spain
Sun 15 Apr, 2007 22:07
Subject: Re: {IMG_THL}, {IMG_THC}, ... Etc. Dimensions
no zuker
mg_themes.cfg
here
// MG Smart Tables - BEGIN
if ( isset($_POST['lofi']) || isset($_GET['lofi']) || isset($_COOKIE['lofi']) )
{
$light_template = ($_POST['lofi'] == true) ? true : ( ($_GET['lofi'] == true) ? true : ( ($_COOKIE['lofi'] == true) ? true : false ) );
//$light_template = true;
}
else
{
$light_template = false;
}
if ($light_template == true)
{
//$images['tbl_h_l_pre'] = '';
//$images['tbl_h_r_post'] = '';
$images['tbl_h_l'] = '<table class="forumline" width="100%" cellspacing="0" style="margin-bottom: 0px;"><tr><td class="row-header">';
$images['tbl_h_c'] = '';
$images['tbl_h_r'] = '</td></tr></table>';
//$images['tbl_h_l'] = $images['tbl_h_l_pre'] . $images['tbl_h_l'];
//$images['tbl_h_r'] = $images['tbl_h_r'] . $images['tbl_h_r_post'];
$images['tbl_b_l'] = '';
$images['tbl_b_c'] = '';
$images['tbl_b_r'] = '';
//$images['tbl_f_l_pre'] = '';
//$images['tbl_f_r_post'] = '';
$images['tbl_f_l'] = '';
$images['tbl_f_c'] = '';
$images['tbl_f_r'] = '';
//$images['tbl_f_l'] = $images['tbl_f_l_pre'] . $images['tbl_f_l'];
//$images['tbl_f_r'] = $images['tbl_f_r'] . $images['tbl_f_r_post'];
}
else
{
if ( ($color == 'gray') || ($color == 'ice') || ($color == 'white') )
{
//$images['tbl_h_l_pre'] = '<table class="forumlinenb" width="100%" cellspacing="0" cellpadding="0"><tr><td>';
//$images['tbl_h_r_post'] = '</td></tr><tr><td class="row6"><table width="100%" cellspacing="0" cellpadding="0">';
$images['tbl_h_l'] = '<table class="roundedtop" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td width="27" align="right" valign="bottom"><img src="' . $current_template_images . 'tbl_h_l.gif" width="27" height="29" border="0" alt="" /></td>';
//$images['tbl_h_c'] = '<td width="100%" align="center" valign="middle" background="' . $current_template_images . 'tbl_h_c.gif" nowrap="nowrap">';
$images['tbl_h_c'] = '<td class="roundedhc" width="100%" align="center" valign="middle" nowrap="nowrap">';
$images['tbl_h_r'] = '</td><td width="27" align="left" valign="bottom"><img src="' . $current_template_images . 'tbl_h_r.gif" width="27" height="29" border="0" alt="" /></td></tr></table>';
//$images['tbl_h_l'] = $images['tbl_h_l_pre'] . $images['tbl_h_l'];
//$images['tbl_h_r'] = $images['tbl_h_r'] . $images['tbl_h_r_post'];
$images['tbl_b_l'] = '';
$images['tbl_b_c'] = '';
$images['tbl_b_r'] = '';
//$images['tbl_f_l_pre'] = '</td></tr><tr><td>';
//$images['tbl_f_r_post'] = '</td></tr></table>';
$images['tbl_f_l'] = '<table class="roundedbottom" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td width="10" align="right" valign="top"><img src="' . $current_template_images . 'tbl_f_l.gif" width="10" height="12" border="0" alt="" /></td>';
//$images['tbl_f_c'] = '<td width="100%" height="12" align="center" background="' . $current_template_images . 'tbl_f_c.gif"><img src="' . $current_template_images . 'spacer.gif" width="1" height="1" border="0" alt="" />';
$images['tbl_f_c'] = '<td class="roundedfc" width="100%" height="12" align="center">';
$images['tbl_f_r'] = '</td><td width="12" align="left" valign="top"><img src="' . $current_template_images . 'tbl_f_r.gif" width="10" height="12" border="0" alt="" /></td></tr></table>';
//$images['tbl_f_l'] = $images['tbl_f_l_pre'] . $images['tbl_f_l'];
//$images['tbl_f_r'] = $images['tbl_f_r'] . $images['tbl_f_r_post'];
}
else
{
//$images['tbl_h_l_pre'] = '<table class="forumlinenb" width="100%" cellspacing="0" cellpadding="0"><tr><td>';
//$images['tbl_h_r_post'] = '</td></tr><tr><td class="row6"><table width="100%" cellspacing="0" cellpadding="0">';
$images['tbl_h_l'] = '<table class="roundedtop" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td width="24" align="right" valign="bottom"><img src="' . $current_template_images . 'tbl_h_l.gif" width="24" height="28" border="0" alt="" /></td>';
$images['tbl_h_c'] = '<td width="100%" align="center" valign="middle" background="' . $current_template_images . 'tbl_h_c.gif" nowrap="nowrap">';
$images['tbl_h_r'] = '</td><td width="24" align="left" valign="bottom"><img src="' . $current_template_images . 'tbl_h_r.gif" width="24" height="28" border="0" alt="" /></td></tr></table>';
//$images['tbl_h_l'] = $images['tbl_h_l_pre'] . $images['tbl_h_l'];
//$images['tbl_h_r'] = $images['tbl_h_r'] . $images['tbl_h_r_post'];
$images['tbl_b_l'] = '';
$images['tbl_b_c'] = '';
$images['tbl_b_r'] = '';
//$images['tbl_f_l_pre'] = '</td></tr><tr><td>';
//$images['tbl_f_r_post'] = '</td></tr></table>';
$images['tbl_f_l'] = '<table class="roundedbottom" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td width="10" align="right" valign="top"><img src="' . $current_template_images . 'tbl_f_l.gif" width="10" height="12" border="0" alt="" /></td>';
$images['tbl_f_c'] = '<td width="100%" height="12" align="center" background="' . $current_template_images . 'tbl_f_c.gif"><img src="' . $current_template_images . 'spacer.gif" width="1" height="1" border="0" alt="" />';
$images['tbl_f_r'] = '</td><td width="10" align="left" valign="top"><img src="' . $current_template_images . 'tbl_f_r.gif" width="10" height="12" border="0" alt="" /></td></tr></table>';
//$images['tbl_f_l'] = $images['tbl_f_l_pre'] . $images['tbl_f_l'];
//$images['tbl_f_r'] = $images['tbl_f_r'] . $images['tbl_f_r_post'];
}
}
// MG Smart Tables - END
Posts: 3
Sun 15 Apr, 2007 22:14
Subject: Re: {IMG_THL}, {IMG_THC}, ... Etc. Dimensions
Thanks ktm :loveit: i tried what zuker said, and it doesnt works, so i was going to reply that it was not correct. Now i will try your solution. Thanks again.
EDIT: thats was the right thing ktm, now it works fine :mrgreen:
Posts: 2134 Location: BA
Sun 15 Apr, 2007 23:45
Subject: Re: {IMG_THL}, {IMG_THC}, ... Etc. Dimensions
But on css:
.roundedtop td {
height: 29px;
white-space: nowrap;
/*
background: none;
*/
}
And some more about 27 px height
Posts: 7192 Location: Borgo San Michele
Wed 25 Apr, 2007 01:32
Subject: Re: {IMG_THL}, {IMG_THC}, ... Etc. Dimensions
I think you need to modify both... :icy_lol_flag:
Posts: 3
Wed 25 Apr, 2007 17:22
Subject: Re: {IMG_THL}, {IMG_THC}, ... Etc. Dimensions
I have only modificated the part that ktm said, and it works great. Before i tried with the css, but it didnt work so i undo the changes.
Page 1 of 1
You
cannot post new topics
You
cannot reply to topics
You
cannot edit your posts
You
cannot delete your posts
You
cannot vote in polls
You
cannot attach files
You
can download files
You
cannot post calendar events