Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Change Logo Size


brians34

Recommended Posts

Posted

My logo size is H: 110 W: 800

 

What do I need to do to get this logo to work?

 

I've tried searching for logo size and several other searches and don't find an answer to this.

 

I have seen where to change logo to mine at http://www.oscommerce.com/forums/topic/274968-how-do-i-all-the-basic-install-questions-regularly-asked/

but not how to change logo dimensions.

So, when you changed the image what was the result? What is it that does not work? I have changed many logos and never worried about the size in OSC. Only that the logo was the size I wanted in my image editing program. Never had any problems.

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Posted

So, when you changed the image what was the result? What is it that does not work? I have changed many logos and never worried about the size in OSC. Only that the logo was the size I wanted in my image editing program. Never had any problems.

 

 

This is the only line I change in the header.php file

 

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'store_logo.png', STORE_NAME) . '</a>'; ?></td>

 

I input my logo image in the images folder. Image saved as jfabs_logo.png

 

Made these changes in the header.php file

 

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'jfabs_logo.png', J_FABS) . '</a>'; ?></td>

 

 

The png logo does not show up just J_FABS www.jfabs.com

Posted

This is the only line I change in the header.php file

 

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'store_logo.png', STORE_NAME) . '</a>'; ?></td>

 

I input my logo image in the images folder. Image saved as jfabs_logo.png

 

Made these changes in the header.php file

 

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'jfabs_logo.png', J_FABS) . '</a>'; ?></td>

 

 

The png logo does not show up just J_FABS www.jfabs.com

Check your images folder.

 

The file you uploaded is named differently than your code specifies.

 

File names on UNIX are case sensitive.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

This is the only line I change in the header.php file

 

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'store_logo.png', STORE_NAME) . '</a>'; ?></td>

 

I input my logo image in the images folder. Image saved as jfabs_logo.png

 

Made these changes in the header.php file

 

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'jfabs_logo.png', J_FABS) . '</a>'; ?></td>

 

 

The png logo does not show up just J_FABS www.jfabs.com

 

Change this line:

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'jfabs_logo.png', J_FABS) . '</a>'; ?></td>

 

To this:

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'Jfabs_logo.png', J_FABS) . '</a>'; ?></td>

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Posted

Change this line:

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'jfabs_logo.png', J_FABS) . '</a>'; ?></td>

 

To this:

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'Jfabs_logo.png', J_FABS) . '</a>'; ?></td>

 

 

Thanks so much Mark and Jim. That worked.

 

 

I'm about to start putting in the security addons. Just wanted to get my feet wet a little.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...