Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to insert big image on mid of page (not boxes)


MissyB19

Recommended Posts

Hi, i am trying to add an image on the middle page of the main screen (below create an account). Gathered it should be done on the includes/languages/english/index where i did the edits for the wordings.... Question. How and where should I insert it? Plan to save my new image e.g. "testing1.jpg" under the images folder.

 

I'm not familiar with the language.. appreciate all the help. thanks!

 

 

 

 

<?php

/*

$Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright ? 2003 osCommerce

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN', '<font color="#6600CC"><b>TangoChocolat</font></b> brings you the latest in accessories for your high-tech gadgets. Look good, stay cool when you accessorize with our fashion covers.<b> We are big on collaboration & partnership.</b> If you would like to join us as resellers, please <a href="http://wiki.oscommerce.com" target="_blank"><u>contact</u></a> us today to find out more about our "hand-in-hand" program. Pardon our appearance as we dress up for our debut.<br><table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/2.gif') . '</td><td class="main" valign="top"><font color="#6600CC"><b>Poche sets the town on fire</font></b><br>Stay fashionable with Poche. You would not longer need to dig into your bag for your cell phone again. Fr

Link to comment
Share on other sites

I use the define mainpage contribution on my site. It seems to work well.

It creates a file mainpage.php which can be edited from admin, but this file can also be opened in dreamweaver for the best results.

Link to comment
Share on other sites

Hi, i am trying to add an image on the middle page of the main screen (below create an account). Gathered it should be done on the includes/languages/english/index where i did the edits for the wordings.... Question. How and where should I insert it? Plan to save my new image e.g. "testing1.jpg" under the images folder.

 

I'm not familiar with the language.. appreciate all the help. thanks!

<?php

/*

$Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright ? 2003 osCommerce

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN', '<font color="#6600CC"><b>TangoChocolat</font></b> brings you the latest in accessories for your high-tech gadgets. Look good, stay cool when you accessorize with our fashion covers.<b> We are big on collaboration & partnership.</b> If you would like to join us as resellers, please <a href="http://wiki.oscommerce.com" target="_blank"><u>contact</u></a> us today to find out more about our "hand-in-hand" program. Pardon our appearance as we dress up for our debut.<br><table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/2.gif') . '</td><td class="main" valign="top"><font color="#6600CC"><b>Poche sets the town on fire</font></b><br>Stay fashionable with Poche. You would not longer need to dig into your bag for your cell phone again. Fr

 

It is rather simple to achieve what you want.

If you look at your code you will notice a big part there is HTML.

Note:

<font color="#6600CC"><b>TangoChocolat</font></b> brings you the latest in accessories for your high-tech gadgets. Look good, stay cool when you accessorize with our fashion covers.<b> We are big on collaboration & partnership.</b>

 

Just replace all of the text and HTML formatting with a link to the image you require. Perhaps (like i have) create a single table (1x1) and add the image in there. When ever you want to update to a new image just change the link.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...