Seite 1 von 2

Größe des PHP-Logos ändern - keine Größenangaben vorhanden

Verfasst: 18.05.2004 16:11
von TVerse
Ich möchte anstatt des normalen PHP-Logos einen normalen Banner im forum anzeigen lassen, in der Größe 468x60.
In der overall_header.tpl sind aber leider keine Größenangaben vorhanden, ich benutze das Template SoftBlue.

Hier mal ein Auszug der overall_header:
...<tr><td class="logo"><a href="{U_INDEX}" border="0"><img src="templates/SoftBlue/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" /></a></td>
</tr>
<tr><td class="catLeft" colspan="2" height="28" align="right"><span class="menu">&nbsp;<a href="{U_PROFILE}" class="mainmenu"><img src="templates/SoftBlue/images/icon_mini_profile.gif" border="0"...

Verfasst: 18.05.2004 16:24
von Scoutman
man kann die größenangaben auch einfach weg lassen. dann wird das bild in originallgröße angezeigt.
du brauchste nur den pfad deinen banner anpassen und fertig!

Verfasst: 18.05.2004 16:45
von TVerse
Scoutman hat geschrieben:...du brauchste nur den pfad deinen banner anpassen und fertig!
Also meinst Du so:

Vorher:
<tr><td class="logo"><a href="{U_INDEX}" border="0"><img
src="templates/SoftBlue/images/logo_phpBB.gif" border="0"
alt="{L_INDEX}" /></a></td>

Ändern in:
<tr><td class="logo"><a href="{U_INDEX}" border="0"><img
src="templates/SoftBlue/images/banner.gif" border="0"
alt="{L_INDEX}" /></a></td>

Das geht leider nicht, das Logo bleibt unverändert

Verfasst: 18.05.2004 16:48
von Scoutman
speicher dein banner mit den namen logo_phpBB.gif ab. und kopier es ins gleiche verzeichniss wie das originall. dann sollte es gehen.

Verfasst: 18.05.2004 16:53
von TVerse
so hab ich das ja ursprünglich versucht, aber es wird ziemlich zusammengequetscht, also irgendwas hindert das Bild in normaler Größe dargestellt zu werden.
Hier mal den Link zum Portal:

http://www.technoverse.de/forum/phpBB2/portal.php

Verfasst: 18.05.2004 17:07
von Scoutman
das is ein interessanter effekt! wo verdammt nimmt der die größenangaben her???

versuch mal selber die größe zu definieren mit 468x60. mal schaun ob dann 2 größenangaben nachher drinnen stehen oder er die anderen überschreibt.

Code: Alles auswählen

<img alt="Moto-Forum Foren-Übersicht" src="templates/SoftBlue/images/logo_phpBB.gif" width="468" height="60" border="0" title="Moto-Forum Foren-Übersicht" />

Verfasst: 18.05.2004 17:19
von TVerse
Hmm, leider hat das auch nicht geholfen :-?

In irgendeiner Datei muß ja dann wohl die Größe definiert werden, da die Größe immer 208x83 pixel beträgt

Verfasst: 18.05.2004 17:21
von Christian_W
Schau mal in die *.cfg-Datei in Deinem template-Verzeichnis. Da gibt es vermutlich sowas wie das:

Code: Alles auswählen

$current_template_images = $current_template_path . "/images";
$topic_iw = '67';
$topic_ih = '18';
$post_iw = '108';
$post_ih = '25';
$icon_iw = '16';
$icon_ih = '18';
$folder_iw = '25';
$folder_ih = '25';
$folderbig_iw = '25';
$folderbig_ih = '25';
Gruß Christian

Verfasst: 18.05.2004 17:33
von TVerse
Nein, leider auch nicht. Hier mal meine SoftBlue.cfg:
<?php
//
// ** Configuration file for SoftBlue template **
//
// ** copyright (C) 2001 The phpBB Group **
// ** Created by subBlue design **
// ** www.subBlue.com **
//
// ** SoftBlue dev. forum: www.subSky.com/phpBB2/ **
//
// $Id: SoftBlue.cfg,v 1.11 2002/02/04 18:31:15 psotfx Exp $
//
// Please note that to enable support of different languages
// the {LANG} place holder is available. This will be replaced
// with xxx where xxx is the users selected language. If
// that language isn't available it will default to english.
// Therefore you MUST ensure you have at least a english
// directory if you choose to localise your template
//

//
// Do not alter this line!
//
define(TEMPLATE_CONFIG, TRUE);

$current_template_images = $current_template_path . "/images";

$images['icon_quote'] = "$current_template_images/{LANG}/icon_quote.gif";
$images['icon_edit'] = "$current_template_images/{LANG}/icon_edit.gif";
$images['icon_search'] = "$current_template_images/{LANG}/icon_search.gif";
$images['icon_profile'] = "$current_template_images/{LANG}/icon_profile.gif";
$images['icon_pm'] = "$current_template_images/{LANG}/icon_pm.gif";
$images['icon_email'] = "$current_template_images/{LANG}/icon_email.gif";
$images['icon_delpost'] = "$current_template_images/icon_delete.gif";
$images['icon_ip'] = "$current_template_images/{LANG}/icon_ip.gif";
$images['icon_www'] = "$current_template_images/{LANG}/icon_www.gif";
$images['icon_icq'] = "$current_template_images/{LANG}/icon_icq_add.gif";
$images['icon_aim'] = "$current_template_images/{LANG}/icon_aim.gif";
$images['icon_yim'] = "$current_template_images/{LANG}/icon_yim.gif";
$images['icon_msnm'] = "$current_template_images/{LANG}/icon_msnm.gif";
$images['icon_minipost'] = "$current_template_images/icon_minipost.gif";
$images['icon_gotopost'] = "$current_template_images/icon_minipost.gif";
$images['icon_minipost_new'] = "$current_template_images/icon_minipost_new.gif";
$images['icon_latest_reply'] = "$current_template_images/icon_latest_reply.gif";
$images['icon_newest_reply'] = "$current_template_images/icon_newest_reply.gif";

$images['forum'] = "$current_template_images/folder_big.gif";
$images['forum_new'] = "$current_template_images/folder_new_big.gif";
$images['forum_locked'] = "$current_template_images/folder_locked_big.gif";

$images['folder'] = "$current_template_images/folder.gif";
$images['folder_new'] = "$current_template_images/folder_new.gif";
$images['folder_hot'] = "$current_template_images/folder_hot.gif";
$images['folder_hot_new'] = "$current_template_images/folder_new_hot.gif";
$images['folder_locked'] = "$current_template_images/folder_lock.gif";
$images['folder_locked_new'] = "$current_template_images/folder_lock_new.gif";
$images['folder_sticky'] = "$current_template_images/folder_sticky.gif";
$images['folder_sticky_new'] = "$current_template_images/folder_sticky_new.gif";
$images['folder_announce'] = "$current_template_images/folder_announce.gif";
$images['folder_announce_new'] = "$current_template_images/folder_announce_new.gif";

$images['post_new'] = "$current_template_images/{LANG}/post.gif";
$images['post_locked'] = "$current_template_images/{LANG}/reply-locked.gif";
$images['reply_new'] = "$current_template_images/{LANG}/reply.gif";
$images['reply_locked'] = "$current_template_images/{LANG}/reply-locked.gif";

$images['pm_inbox'] = "$current_template_images/msg_inbox.gif";
$images['pm_outbox'] = "$current_template_images/msg_outbox.gif";
$images['pm_savebox'] = "$current_template_images/msg_savebox.gif";
$images['pm_sentbox'] = "$current_template_images/msg_sentbox.gif";
$images['pm_readmsg'] = "$current_template_images/folder.gif";
$images['pm_unreadmsg'] = "$current_template_images/folder_new.gif";
$images['pm_replymsg'] = "$current_template_images/{LANG}/reply.gif";
$images['pm_postmsg'] = "$current_template_images/{LANG}/msg_newpost.gif";
$images['pm_quotemsg'] = "$current_template_images/{LANG}/icon_quote.gif";
$images['pm_editmsg'] = "$current_template_images/{LANG}/icon_edit.gif";
$images['pm_new_msg'] = "";
$images['pm_no_new_msg'] = "";

$images['topic_watch'] = "";
$images['topic_un_watch'] = "";
$images['topic_mod_lock'] = "$current_template_images/topic_lock.gif";
$images['topic_mod_unlock'] = "$current_template_images/topic_unlock.gif";
$images['topic_mod_split'] = "$current_template_images/topic_split.gif";
$images['topic_mod_move'] = "$current_template_images/topic_move.gif";
$images['topic_mod_delete'] = "$current_template_images/topic_delete.gif";

$images['voting_graphic'][0] = "$current_template_images/voting_bar.gif";
$images['voting_graphic'][1] = "$current_template_images/voting_bar.gif";
$images['voting_graphic'][2] = "$current_template_images/voting_bar.gif";
$images['voting_graphic'][3] = "$current_template_images/voting_bar.gif";
$images['voting_graphic'][4] = "$current_template_images/voting_bar.gif";

//
// Vote graphic length defines the maximum length of a vote result
// graphic, ie. 100% = this length
//
$board_config['vote_graphic_length'] = 205;
$board_config['privmsg_graphic_length'] = 175;

?>

Re: Größe des PHP-Logos ändern - keine Größenangaben vorhand

Verfasst: 18.05.2004 17:45
von Christian_W
OK ich habe mir den Thread gar nicht richtig durchgelesen.
Bist Du sicher, dass Du die richtige Datei hast?

Code: Alles auswählen

<td class="logo"><a href="{U_INDEX}" border="0"><img src="templates/SoftBlue/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" /></a></td>
Hier steht:
<td class="logo">

Code: Alles auswählen

<td align="center" width="100%"><a href="index.php?sid=***************"><img alt="Moto-Forum Foren-Übersicht" src="templates/SoftBlue/images/logo_phpBB.gif" width="208" height="83" align="center" border="0" title="Moto-Forum Foren-Übersicht" /></a></td>
Online steht an der Stelle:
<td align="center" width="100%">
Gruß Christian