Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Logo not present in Internet Explorer


gwenn1986

Recommended Posts

Posted

Hi there,

 

I have done the following thing:

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">



 <tr class="header">



   <td valign="center"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'store_logo.png', STORE_NAME , '100%', '100%') . '</a>'; ?>
</td>

 

But now my logo in Internet Explorer has disappeared.

In Firefox it works perfect. The image automatically sized with the resolution

 

(if you know what I mean, Im not English.I can perfectly read English but writing is another thing whaha.)

Posted

The only reason I know of for an image to show in Firefox and not IE is it's the wrong format.

 

Images must be RGB format not CYMK to show in IE,

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

Thank you for your reply,

 

My image is a PNG. I created my logo with RGB colors(between 000000 and ffffff) That is what you meant?

 

The image was always working on IE but now that ive set these code it disappeared.

There is something with the code that IE doesnt recognise(I think)

 

Im trying my best here but still no solution to the problem.

If anyone knows please tell

Posted

After looking a little closer at your code seems like I remember someone else with the same problem that wasn't image format related.

 

I remember it being the fact that IE didn't like the "%" (per cent sign) in the image size.

 

It needs to be a number like:

 

tep_image(DIR_WS_IMAGES . 'store_logo.png', STORE_NAME , '400', '200')

 

I'd try making the code the actual pixel size of the image, not a per cent..

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

thank you then I know that IE doesnt accept %.

 

I want my site to adjust to the resolution of the computer user.

Is there a way without a program to do this.

 

if not thanks anyway :D

Posted

google for a script that gets you the screen width, and then use that in a function to add the actual value to your images script.

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Archived

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

×
×
  • Create New...