i add a Random Header Image but the image goes wrong

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Ideas Centre
Locked
maxterx
Registered User
Posts: 131
Joined: Fri Feb 27, 2009 1:44 pm

i add a Random Header Image but the image goes wrong

Post by maxterx »

i read: http://www.phpbb.com/kb/article/adding- ... der-image/
but....

i have
overall_header.html

Code: Select all

        			<div id="site-description">
						<a href="{U_INDEX}" title="{L_INDEX}" id="logo"><img src="{T_IMAGESET_PATH}/site-logo-{SITE_LOGO_RANDOM}.jpg" alt="CorollaSquad" title="CorollaSquad" /></a>
        					<p class="skiplink"><a href="#start_here">{L_SKIP}</a></p>
        			</div>
functions.php

Code: Select all

		'T_STYLESHEET_NAME'		=> $user->theme['theme_name'],
		'SITE_LOGO_RANDOM'      => mt_rand(1, 2),
look this screenshot:
Image

my photos are 846x150.

I did not touched the css files, I do not know what to do please help.
I would like the photo is like in this forum.

Thanks to all!!!

maxterx
Registered User
Posts: 131
Joined: Fri Feb 27, 2009 1:44 pm

Re: i add a Random Header Image but the image goes wrong

Post by maxterx »

help me please!!

:( :( :( :(

Locked

Return to “[3.0.x] Styles Support & Discussion”