graphicflasher Posted November 26, 2006 Posted November 26, 2006 hey...I have a large image/graphic..on my front page...I would like to insert the same size image on a couple of other pages ...but really do not where to put the script for the images/graphics... Any adive would be helpful... TY PD
matrix2223 Posted November 26, 2006 Posted November 26, 2006 For that page goto the body section and add this to the begining <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr> <td width="<?php echo BOX_WIDTH; ?>" valign="top" class="background"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="0"> Add a </table></td></tr> and the end of the body section in stylesheet.css add background { background-image: url('/images/ur image.gif'); background-repeat: no-repeat; background-position: center; } Eric
graphicflasher Posted November 26, 2006 Author Posted November 26, 2006 For that page goto the body section and add this to the begining <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr> <td width="<?php echo BOX_WIDTH; ?>" valign="top" class="background"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="0"> Add a </table></td></tr> and the end of the body section in stylesheet.css add background { background-image: url('/images/ur image.gif'); background-repeat: no-repeat; background-position: center; } Eric Thank you..for the advice...the site I am working on is not yet live...I was ask to do this by a friend...(I do not have much web experience...but said I would give it a go)..I mainly do logo design and advertising...I want to add a rotating banner on the bottom yet..and some other small things...here is the link to the site...Takeout...remember the site is not live yet...as u can see the large image/graphic on the first page if u click on Luncheon Specials..you can see that is where I would like a graphic there the same size...and also on the Sushi Page... I am not sure I get...the code u inserted..but it could be I am tired this evening...again thank you for your input...and help PD
matrix2223 Posted November 26, 2006 Posted November 26, 2006 Yes that will work you can also do it this way as well <!-- body_text //--> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading" align="center"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_products_new.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" valign="center"><img src="/images/your_image.gif"></td> </tr> </table></td> This should be easier to do Eric
graphicflasher Posted November 26, 2006 Author Posted November 26, 2006 Yes that will work you can also do it this way as well <!-- body_text //--> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading" align="center"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_products_new.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" valign="center"><img src="/images/your_image.gif"></td> </tr> </table></td> This should be easier to do Eric Hate to sound stupid...but just what page do I ad this code to? Thanks again... PD
Recommended Posts
Archived
This topic is now archived and is closed to further replies.