brians34 Posted January 3, 2010 Posted January 3, 2010 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.
♥mdtaylorlrim Posted January 3, 2010 Posted January 3, 2010 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...?
brians34 Posted January 3, 2010 Author Posted January 3, 2010 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
germ Posted January 3, 2010 Posted January 3, 2010 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 >
♥mdtaylorlrim Posted January 3, 2010 Posted January 3, 2010 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...?
♥mdtaylorlrim Posted January 3, 2010 Posted January 3, 2010 And before you take another step look at this forum for Security add-ons and modifications. Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...?
brians34 Posted January 3, 2010 Author Posted January 3, 2010 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.