How do I change the logo dimensions in phpBB 3?

Dear Experts,

Does anyone know where I go on PHBB 3 to reserve the size space for the logo image?

In other words, is there some code that tells the browser to make the logo image XY size despite what you put up there as a pic file? Somewhere there seems to be some code that 'forces' the image into a specific size and shrinks the image (asymmetrically sometimes) if you don't match the thing's expectations.

There are also some silly rules about it having to have a transparent background.

So I need to know which phpbb file contains the code that controls this. What is the name of this file and where do I find it?

(I do not have direct access to the server that holds the forum, so please be explicit - I am going to have to explain this to someone else. Please provide a sample file path, filename, appropriate code, etc.)

Thanks in anticipation!
JonathanGSKAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rommel SultanCommented:
You need to locate and edit that value in imageset.cfg
the above file is located in:
phpbbsitedirectory/styles/templatename/imageset.

Edit this line:
img_site_logo = site_logo.gif*52*139

52 is the height and 139 is the width

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JonathanGSKAuthor Commented:
Ah, I figured it must be something like that.

I will pass it on and let you know if it works.

Thanks,

JonathanGSKAuthor Commented:
Ok, that worked, but it took some extra foolery on the admin control panel -- it had to be changed there too, and caches cleared. After I'd changed and uploaded the .cfg file, the admin control panel still showed the old size. Changed it there too, and bingo.

Any idea how to control the centering of the image?

Thanks for your prompt response!


It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.