|
Page 1 of 1
|
x-man 
Joined: April 2007
Posts: 3
Location:
|
 {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
|
#1 Sun 15 Apr, 2007 21:17 |
|
Sponsors

|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
Zuker 
Joined: August 2006
Posts: 2134
Location:  BA
|
 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
____________ ? Zuker - EDDB - LPM - Sharefields
|
#2 Sun 15 Apr, 2007 21:54 |
|
-ktm- 
Joined: November 2006
Posts: 106
Location:  spain
|
 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
____________
[spoiler][img]http://i116.photobucket.com/albums/o37/_ktm_/Firma32.jpg[/img][/spoiler]
|
#3 Sun 15 Apr, 2007 22:07 |
|
x-man 
Joined: April 2007
Posts: 3
Location:
|
 Re: {IMG_THL}, {IMG_THC}, ... Etc. Dimensions
Thanks ktm 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
|
#4 Sun 15 Apr, 2007 22:14 |
|
Zuker 
Joined: August 2006
Posts: 2134
Location:  BA
|
 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
____________ ? Zuker - EDDB - LPM - Sharefields
|
#5 Sun 15 Apr, 2007 23:45 |
|
Mighty Gorgon 
Luca Libralato
Joined: August 2006
Posts: 7192
Location:  Borgo San Michele
|
 Re: {IMG_THL}, {IMG_THC}, ... Etc. Dimensions
I think you need to modify both...
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#6 Wed 25 Apr, 2007 01:32 |
|
x-man 
Joined: April 2007
Posts: 3
Location:
|
 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.
|
#7 Wed 25 Apr, 2007 17:22 |
|
|
Page 1 of 1
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
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
|
|
|
|