Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

tep_image


Guest

Recommended Posts

In an attempt to rid my site of redirect security popups on SSL...

 

Is there a way to use tep_image so that the "name=" is not also used in the "title=" tag? I'm trying to OSC-a-fize my header however, all the images I use tep_image on will display their name on mouse over. I need the name= because I'm using image replace on mouseover...

 

Any help will be greatly appreciated.

 

nb

Link to comment
Share on other sites

Thanks for the reply! I noticed that I could do that but then I loose it for everything else? I think I sould just make a copy of tep_image(), edit it and only use that for my header/footer sections. I was wonering how others dealt with this problem...

 

Thanks again!

 

nb

Link to comment
Share on other sites

If it's just for the header and footer, why not insert the HTML directly? I'm assuming images don't change.

 

Otherwise, copy and change the tep_image() to tep_image_header() or something. It's easier to add new stuff than to modify the code in case you want to upgrade later.

Christian Lescuyer

Link to comment
Share on other sites

that's what I did. I created a my_tep_image() that does what I want. Now all the images on the site are called via OSC.

 

The problem I was having was the pop-up security dialog for ssl that was complaining of mixed conent. Everything appears to be fine now except that from /catalog/ is i were to hit the checkout link, it will take me to login and then display a "redirect to insecure site" and then the cary contents. So this is still bothering me but at least the mixed content stuffis now gone.

 

Thanks Christian,

nb

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...