Seite 1 von 1

Conundrum: Image Grösse einstellen

Verfasst: 27.05.2006 21:04
von Near Mint
Ich finde einfach nicht wo ich die Image-Grösse einstellen kann. Bei allen anderen Templates scheint das ja in den index_body.tpl und viewforum_body.tpl dateien eingestellt. Bei Conundrum wohl leider nicht.
hier mal die dateien

viewforum:

<form method="post" action="{S_POST_DAYS_ACTION}">
<table cellspacing="1" class="viewforum">
<tr class="toplines">
<th colspan="2">{L_TOPICS}</th>
<th>{L_REPLIES}</th>
<th>{L_AUTHOR}</th>
<th>{L_VIEWS}</th>
<th>{L_LASTPOST}</th>
</tr>
<tr>
<td colspan="6"><h2><a href="{U_INDEX}"><</a>&nbsp;&nbsp;<a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></h2></td>
</tr>
<!-- BEGIN topicrow -->
<tr>
<td class="row1 one"><img src="{topicrow.TOPIC_FOLDER_IMG}" alt="" /></td>
<td class="row1 two"
onmouseover="this.style.backgroundColor='{T_TR_COLOR2}'; this.style.cursor='pointer'"
onmouseout="this.style.backgroundColor=''"
onclick="window.location.href='{topicrow.U_VIEW_TOPIC}'">
{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<span class="blacklink"><a href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a></span><br />
{topicrow.GOTO_PAGE}</td>
<td class="row2 one">{topicrow.REPLIES}</td>
<td class="row2 one">{topicrow.TOPIC_AUTHOR}</td>
<td class="row2 one">{topicrow.VIEWS}</td>
<td class="row3 three">{topicrow.LAST_POST_TIME}<br />
{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</td>
</tr>
<!-- END topicrow -->
<!-- BEGIN switch_no_topics -->
<tr>
<td class="row1 txtmiddle pad60" colspan="6">{L_NO_TOPICS}</td>
</tr>
<!-- END switch_no_topics -->
<tr>
<td class="row3 pad4 txtright" colspan="6">{L_DISPLAY_TOPICS}:&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp;<input type="submit" class="button" value="{L_GO}" name="submit" /></td>
</tr>
</table>
</form>

<div class="timezone left"><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a></div>
<div class="timezone right">{S_TIMEZONE}</div>
<div class="spacing"></div>

<table cellspacing="0">
<tr class="lines_3">
<th>
<div class="left">
{L_MODERATOR}: {MODERATORS}<br />
{LOGGED_IN_USER_LIST}
</div>
<div class="right">
{PAGE_NUMBER}<br />
{PAGINATION}
</div>
<div class="clear"></div>
<div class="left">
<span class="nav"><a href="{U_INDEX}">{L_INDEX}</a>&nbsp;&nbsp;~&nbsp;&nbsp;<a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span>
</div>
</th>
</tr>
</table>

<div class="spacing"></div>

<div class="postbuttons"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" alt="{L_POST_NEW_TOPIC}" /></a></div>

<div class="spacing"></div>

index_body:

<table cellspacing="1" class="index_body">
<tr class="toplines">
<th colspan="2">{L_FORUM}</th>
<th>{L_TOPICS}</th>
<th>{L_POSTS}</th>
<th>{L_LASTPOST}</th>
</tr>
<!-- BEGIN catrow -->
<tr>
<td colspan="5"><h2><a href="{catrow.U_VIEWCAT}">{catrow.CAT_DESC}</a></h2></td>
</tr>
<!-- BEGIN forumrow -->
<tr>
<td class="row1 one"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="" /></td>
<td class="row1 two"
onmouseover="this.style.backgroundColor='{T_TR_COLOR2}'; this.style.cursor='pointer'"
onmouseout="this.style.backgroundColor=''"
onclick="window.location.href='{catrow.forumrow.U_VIEWFORUM}'">
<h3><a href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a></h3>
{catrow.forumrow.FORUM_DESC}<br />
{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</td>
<td class="row2 one">{catrow.forumrow.TOPICS}</td>
<td class="row2 one">{catrow.forumrow.POSTS}</td>
<td class="row2 three">{catrow.forumrow.LAST_POST}</td>
</tr>
<!-- END forumrow -->
<!-- END catrow -->
</table>

<div class="timezone left"><a href="{U_MARK_READ}">{L_MARK_FORUMS_READ}</a></div>
<div class="timezone right">{S_TIMEZONE}</div>
<div class="spacing"></div>

<table cellspacing="0">
<tr class="lines_3">
<th>
<div class="left">
<!-- BEGIN switch_user_logged_in -->
{LAST_VISIT_DATE}<br />
<!-- END switch_user_logged_in -->
{CURRENT_TIME}<br />
<span class="nav"><a href="{U_INDEX}">{L_INDEX}</a></span>
</div>
<div class="right">
<!-- BEGIN switch_user_logged_in -->
<a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><br />
<a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><br />
<!-- END switch_user_logged_in -->
<a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>
</div>
</th>
</tr>
</table>
<div class="spacing"></div>

<table cellspacing="1" class="index_body">
<tr>
<td colspan="2"><h2><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h2></td>
</tr>
<tr>
<td class="row1 one" rowspan="2"><img src="templates/Conundrum/images/whosonline.gif" alt="" /></td>
<td class="row1 two">{TOTAL_POSTS}<br />
{TOTAL_USERS}<br />
{NEWEST_USER}</td>
</tr>
<tr>
<td class="row1 two">{TOTAL_USERS_ONLINE} &nbsp; [ {L_WHOSONLINE_ADMIN} ] &nbsp; [ {L_WHOSONLINE_MOD} ]<br />
{RECORD_USERS}<br />
{LOGGED_IN_USER_LIST}</td>
</tr>
</table>
<div class="timezone left">{L_ONLINE_EXPLAIN}</div>
<div class="spacing"></div>

<!-- BEGIN switch_user_logged_out -->
<form method="post" action="{S_LOGIN_ACTION}">
<table cellspacing="1">
<tr>
<td><h2><a id="login"></a>{L_LOGIN_LOGOUT}</h2></td>
</tr>
<tr>
<td class="row1 txtcenter pad4">
{L_USERNAME}:
<input class="post postsmall" type="text" name="username" />
&nbsp;&nbsp;&nbsp;{L_PASSWORD}:
<input class="post postsmall" type="password" name="password" maxlength="32" />
<input name="autologin" type="hidden" value="1" />
&nbsp;&nbsp;<input type="submit" class="button" name="login" value="{L_LOGIN}" />
</td>
</tr>
</table>
</form>
<div class="spacing"></div>
<!-- END switch_user_logged_out -->

<div class="spacing"></div>

<table cellspacing="1" class="index_body_icons">
<tr>
<td><img src="templates/Conundrum/images/folder_new_big.gif" alt=""/>
{L_NEW_POSTS}&nbsp;&nbsp;
<img src="templates/Conundrum/images/folder_locked_big.gif" alt="" />
{L_FORUM_LOCKED}&nbsp;&nbsp;&nbsp;&nbsp;</td>
</tr>
</table>

Verfasst: 27.05.2006 23:00
von Julian87
Hi,

viewforum_body.tpl

Suche:

Code: Alles auswählen

<img src="{topicrow.TOPIC_FOLDER_IMG}" alt="" />
Ersetze mit:

Code: Alles auswählen

<img src="{topicrow.TOPIC_FOLDER_IMG}" alt="" width="32" height="32" />

index_body.tpl

Suche:

Code: Alles auswählen

<img src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="" />
Ersetze mit:

Code: Alles auswählen

<img src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="" width="32" height="32" />
Julian

Verfasst: 28.05.2006 13:26
von Near Mint
Danke Julian,
leider tut sich gar nichts bei den bildern. mir geht es besonders um die bilder für neu erstellten beitrag etc. der bleibt bei 46x25 pixel.
vielleicht hast du oder irgendwer anders ja noch ne andere idee.

Verfasst: 28.05.2006 14:03
von Julian87
Hi,

ja normalerweise sollte das klappen, also statt dies 32 kannst du auch einen anderen wert eintragen, undso groß sollte dasnn das Bild sein.

Julian

Verfasst: 28.05.2006 15:30
von miccom
falls du die bilder im index am ende der seite (in der legende( meinst:

index_body.tpl:
suche:

Code: Alles auswählen

<img src="templates/Conundrum/images/folder_new_big.gif" alt=""/>
ersetze: (statt x und y deine bildgroessen)

Code: Alles auswählen

<img src="templates/Conundrum/images/folder_new_big.gif" alt="" width="x" height="y" />
suche:

Code: Alles auswählen

<img src="templates/Conundrum/images/folder_locked_big.gif" alt="" /> 
ersetze: (statt x und y deine bildgroessen)

Code: Alles auswählen

<img src="templates/Conundrum/images/folder_locked_big.gif" alt="" width="x" height="y" /> 
am besten wäre, wenn du mal einen link zu deiner seite postest.

Verfasst: 28.05.2006 15:46
von Near Mint
Danke, das im Index hatte ich auch schonrausgefunden. es geht um die Bilder die vor einem Thread stehen, und anzeigen ob er ungelesen ist.
folder_big.gif und folder_new_big.gif und die werden immer verzehrt angezeigt mit 46x25 Pixel, egal was für Werte ich Angebe.

Verfasst: 28.05.2006 15:48
von miccom
poste mal einen link!

Verfasst: 28.05.2006 15:57
von Near Mint
http://nearmint.ne.funpic.de/index.php

unten ist die Sprechblase richtig dargestellt. So sollte sie auch vor dem jeweiligem Forum aussehen.

Verfasst: 28.05.2006 16:24
von miccom
die bildgrösse wird durch den css-tag "one" in der Conundrum.css definiert, such in ihr mal nach:

Code: Alles auswählen

table.index_body td.one img {
	width: 46px;
	height: 25px}
hier musst du die angaben anpassen!

Verfasst: 28.05.2006 16:32
von Near Mint
Jetzt klappt es. Vielen Dank!