Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I add an image to the main page?


squall24

Recommended Posts

Posted

I have added the picture in includes\languages\english\index.php in TEXT_MAIN at the bottom. If I put it in the middle it aligns the test under it to the right side of the page. How can I add the picture to the middle of TEXT_MAIN,the site is www.intruderjigs.com, I want to add the picture between the white text and the green text. Right now it is making the page wider also, I need to align it to the center or left to fix it. Thanks in advance.

 

Here is my english/index.php:

 

<?php

/*

$Id: index.php 1739 2007-12-20 00:52:16Z hpdl $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2007 osCommerce

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN', '<font color="#C0C0C0"><b>Intruder Jigs are hand made, built strong and designed to get fish out of the thickest cover. Designed with the most versatile Arky Jighead\'s that can be used for virtually any application.</b></font><br><br><table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/arrow.gif') . '</td><td class="main" valign="top"><font color="99cc33">Available in 3/8oz and 1/2oz sizes<br></td></tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/arrow.gif') . '</td><td class="main" valign="top"><font color="99cc33">Stainless Steel Wire is used to fasten the skirt to the jig so you never have to worry about the skirt sliding down the hook or falling off again<br></td></tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/arrow.gif') . '</td><td class="main" valign="top"><font color="99cc33">66 Strand silicon skirts<br></td></tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/arrow.gif') . '</td><td class="main" valign="top"><font color="99cc33">Super Strong Laser Sharpened 0.061 dia. hooks to get fish out of the thickest cover<br></td></tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/arrow.gif') . '</td><td class="main" valign="top"><font color="99cc33">Hand painted with Pro-Tech paint so you won\'t have to worry about chipping<br></td></tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/arrow.gif') . '</td><td class="main" valign="top"><font color="99cc33">Magnum rattles to help fish find the Jig in thick cover <br><br><table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/main-page-image.jpg') .'</td><td class="main" valign="top"><br>

</font><br>');

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

 

if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {

define('HEADING_TITLE', 'Let\'s See What We Have Here');

define('TABLE_HEADING_IMAGE', '');

define('TABLE_HEADING_MODEL', 'Model');

define('TABLE_HEADING_PRODUCTS', 'Product Name');

define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');

define('TABLE_HEADING_QUANTITY', 'Quantity');

define('TABLE_HEADING_PRICE', 'Price');

define('TABLE_HEADING_WEIGHT', 'Weight');

define('TABLE_HEADING_BUY_NOW', 'Buy Now');

define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');

define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');

define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');

define('TEXT_SHOW', '<b>Show:</b>');

define('TEXT_BUY', 'Buy 1 \'');

define('TEXT_NOW', '\' now');

define('TEXT_ALL_CATEGORIES', 'All Categories');

define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

} elseif ($category_depth == 'top') {

define('HEADING_TITLE', 'What\'s New Here?');

} elseif ($category_depth == 'nested') {

define('HEADING_TITLE', 'Categories');

}

?>

Archived

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

×
×
  • Create New...