Where can I change HEADING_IMAGE_WIDTH in oscommerce

Hi,

I want to change the value for HEADING_IMAGE_WIDTH in oscommerce to accomodate my new images...

Thanks
Ant
antumAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

Brian BushSolutions ArchitectCommented:
You can try looking in the includes directory for a file called header.php.
I think you want line 57. It should look like this:

    <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td>

Change the call to tep_image to:
tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce', '<my width>', '<my height>')

--brian
Brian BushSolutions ArchitectCommented:
Sorry about that. I think I misunderstood your question.
HEADING_IMAGE_WIDTH appears to be a constant.
So, try adding this line to the configure.php file in includes:

define('HEADING_IMAGE_WIDTH ', '300px');

--brian

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
antumAuthor Commented:
Hi,

I managed to find it under the admin section of the site! woops, sorry
antumAuthor Commented:
but your suggestion also works, well done,
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
PHP

From novice to tech pro — start learning today.