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

I managed to find it under the admin section of the site! woops, sorry
0
 
antumAuthor Commented:
but your suggestion also works, well done,
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.