Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Image problem in SSL mode


amphead

Recommended Posts

I recently added a credit card info box contribution into left column. Every thing looks fine until I go to SSL pages. I loose the credit card image within the info box.

 

All my other images show up fine with no problems.

 

Any help would be greatly appreciated..

 

Doug

Link to comment
Share on other sites

Hi Doug,

 

How are you referencing the credit card image at the moment? Does it have an href too? Or are you just displaying the image?

 

Cheers,

J

Link to comment
Share on other sites

Hi J,

 

Thanks for quick reply.

 

It looks like this:

 

$info_box_contents[] = array('align' => 'left',

'text' => '<center><img src="/images/credit-cards-square.gif" ></center>');

 

Exactly like the contribution.

 

Doug

Link to comment
Share on other sites

Upload the credit-cards-square.gif file to your .../catalog/images directory (or whatever directory your DIR_WS_IMAGES value is set to - if you haven't changed this value it should be as above).

 

then try replacing your code:

$info_box_contents[] = array('align' => 'left',

'text' => '<center><img src="/images/credit-cards-square.gif" ></center>');

 

with this code:

<td align="left><?php echo tep_image(DIR_WS_IMAGES . 'credit-cards-square.gif', 'Credit Card'); ?></td>

 

Hope this works for you,

J

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...