Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Unsecure Images and Firefox question


Recommended Posts

Test Store


I am using the White&Silver contribution by Jorge Campos and it seems there is a problem with a part of the boxes showing up in firefox...and after setting up SSL i notice that the 'secure & non-secure...yada yada' pops up and those same images are missing as well until you click okay.


What i'm getting at is are there some guidelines to follow that make things show up differently for firefox and could these two issues be connected?


I noticed in the stylesheet.css that I had included the full "http://www.url.com/yada/yada..." and changed it to this:


.infoBoxContents {

background: transparent;

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

background-image: url(../catalog/head_images/boxfd.jpg);



.infoBoxNotice {

  background: #FF8E90;



.infoBoxNoticeContents {

  background: #FFE6E6;

  font-family: Verdana, Arial, sans-serif;

  font-size: 10px;



TD.infoBoxHeading {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

font-weight: bold;

background:transparent url(../catalog/images/infobox/box.gif)

color: #ffffff;



I think that fixed my problem with the non-secure items, but it is still missing in the firefox browser. Any suggestions?


Thanks in advance :)

Link to comment
Share on other sites

You should be using the tep_image function.




similar to this:


echo tep_image(DIR_WS_IMAGES . 'my_image.gif', 'my ALT text', '100', '150');

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Link to comment
Share on other sites

I thought I had done it right for the stylesheet...well, then how could I incorporate that into something like this?


<table border="0" cellpadding="0" id="table1" style="border-collapse: collapse" bgcolor="#FFFFFF">


  <td width="317" height="160" valign="top">

  <img border="0" src="../catalog/head_images/h1.jpg"></td>

  <td background="../catalog/head_images/fd.jpg" width="100%" valign="top">


  <td width="162" height="155" valign="top">

  <object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="160" height="160">

  <param name="movie" value="../catalog/head_images/h2.swf">

  <param name="quality" value="High">

  <param name="base" value="http://../catalog/head_images/h2.swf">

  <embed src="../catalog/head_images/h2.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="160" height="160" quality="High" base="http://../catalog/head_images/h2.swf"></object>




<div style="position: absolute; width: 263px; height: 27px; z-index: 1; left: 4px; top: 85px" id="camada1" class="headerNavigation">

<div style="position: absolute; width: 442px; height: 17px; z-index: 1; left: -3px; top: 36px" id="camada2">

  <font color="#333333">

  <td class="headerNavigation">  <?php echo $breadcrumb->trail(' » '); ?></td></div>

<p><font color="#333333"><font face="Verdana" size="1">Search:</font><font size="1"><?php echo tep_draw_form('search', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get"') . tep_draw_hidden_field('search_in_description','1') . tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH+10) . 'px"') . ' ' . tep_image_submit('button_go.gif', BOX_HEADING_ADVSEARCH, 'align="middle"'); ?></font></form></div>


The sample seems to be just for a simple link, how could I use it in a table like shown above?

Link to comment
Share on other sites


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

  • Create New...